Skip to content

Commit

Permalink
Fix generated cantera.pc to remove invalid -isystem flag
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Aug 23, 2023
1 parent 44bbfa2 commit 2660f5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2660f5b

Please sign in to comment.