1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Only pass the include path flags into pkg-config, not the other flags that happen to be used to compile the package. Same for libraries, except that we may need

the list of dependent libraries for static library linkage, so they go in libs.private. This was causing the duplication of CFLAGS into the final link (which was clumsy but largely harmless), but also build failures for people with funky multi-part options in their CFLAGS (which is where it was found), because some of the flags didn't survive pkg-config's manipulations and came out corrupted.
This commit is contained in:
richardash1981 2010-12-07 19:36:32 +00:00
parent 171ca6f755
commit 6a341a94c5
2 changed files with 6 additions and 4 deletions

View File

@ -12,5 +12,6 @@ Description: Extras for wxwidgets
Requires:
Version: 1
Libs: -L${libdir} -lwidgetextra @LIBS@
Cflags: -I${includedir} @CXXFLAGS@
Libs: -L${libdir} -lwidgetextra
Libs.private: @LIBS@
Cflags: -I${includedir}

View File

@ -6,5 +6,6 @@ Description: Extras for wxwidgets
Requires:
Version: 1
Libs: -L${libdir} -lwidgetextra @LIBS@
Cflags: -I${includedir} @CXXFLAGS@
Libs: -L${libdir} -lwidgetextra
Libs.private: @LIBS@
Cflags: -I${includedir}