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:
parent
171ca6f755
commit
6a341a94c5
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user