From 2660f5b5ecf6e1d2d592c10d7009768955cfdd6b Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 22 Aug 2023 22:22:25 -0400 Subject: [PATCH] Fix generated cantera.pc to remove invalid -isystem flag --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index d2277e10c8..848995deb9 100755 --- a/debian/rules +++ b/debian/rules @@ -56,6 +56,7 @@ binary: build ln -s libcantera.so.${SO_VERSION} debian/libcantera-dev/usr/lib/${DEB_HOST_MULTIARCH}/libcantera.so ln -s libcantera_fortran.so.${SO_VERSION} debian/libcantera-dev/usr/lib/${DEB_HOST_MULTIARCH}/libcantera_fortran.so mkdir -p debian/libcantera-dev/usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig + sed -i 's|\s\+-isystem.*||' stage/usr/lib/pkgconfig/cantera.pc mv stage/usr/lib/pkgconfig/cantera.pc debian/libcantera-dev/usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/ mkdir -p debian/libcantera-dev/usr/include mv stage/usr/include/cantera debian/libcantera-dev/usr/include