1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 09:39:42 +02:00
audacity/lib-src/lib-widget-extra/libwidgetextra-uninstalled.pc.in
richardash1981 6a341a94c5 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.
2010-12-07 19:36:32 +00:00

18 lines
586 B
PkgConfig

# This pkg-config file lets you use the compiled lib without having to first
# install it anywhere. Simply put the directory the pkg-config file is in on the
# PKG_CONFIG_PATH and look for libwidgetextra as normal - the uninstalled file
# is prefered to the installed one if both are found
libdir=@abs_builddir@
# The library always ends up in the build dir.
includedir=@abs_srcdir@
# The headers are always in the source dir
Name: lib-widget-extra
Description: Extras for wxwidgets
Requires:
Version: 1
Libs: -L${libdir} -lwidgetextra
Libs.private: @LIBS@
Cflags: -I${includedir}