From 33ed4a6136815c4c1b0b11250bd7c2d5dec15c0f Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 25 Jan 2019 16:09:05 -0600 Subject: [PATCH] roctracer-proto pkgconfig includedir fix [ROCm/roctracer commit: a4f18cd0de72576c7d3a7cecba07192cf5773146] --- projects/roctracer/inc/ext/DEBIAN/postinst | 4 ++-- projects/roctracer/inc/ext/RPM/rpm_post | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/roctracer/inc/ext/DEBIAN/postinst b/projects/roctracer/inc/ext/DEBIAN/postinst index 40b00bca2b..f932f496ac 100644 --- a/projects/roctracer/inc/ext/DEBIAN/postinst +++ b/projects/roctracer/inc/ext/DEBIAN/postinst @@ -6,12 +6,12 @@ do_pkgconfig() { if [ ! -d /usr/lib/pkgconfig ] ; then mkdir -p /usr/lib/pkgconfig; fi cat > /usr/lib/pkgconfig/roctracer-proto.pc << EOF prefix=/opt/rocm/roctracer -includedir=${prefix}/include +includedir=${prefix}/include/ext Name: roctracer-proto Version: 1.0.0 Description: roctracer protocol -Cflags: -I${includedir}/ext +Cflags: -I${includedir} EOF } diff --git a/projects/roctracer/inc/ext/RPM/rpm_post b/projects/roctracer/inc/ext/RPM/rpm_post index 98d41c0b01..ca6358605b 100644 --- a/projects/roctracer/inc/ext/RPM/rpm_post +++ b/projects/roctracer/inc/ext/RPM/rpm_post @@ -1,10 +1,10 @@ if [ ! -d /usr/lib/pkgconfig ] ; then mkdir -p /usr/lib/pkgconfig; fi cat > /usr/lib/pkgconfig/roctracer-proto.pc << EOF prefix=/opt/rocm/roctracer -includedir=${prefix}/include +includedir=${prefix}/include/ext Name: roctracer-proto Version: 1.0.0 Description: roctracer protocol -Cflags: -I${includedir}/ext +Cflags: -I${includedir} EOF