diff options
author | Peter Meerwald <p.meerwald@bct-electronic.com> | 2012-07-13 09:32:04 +0200 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-07-17 11:05:34 +0530 |
commit | b3d210eb83431a35f78bfb80da0b19bc173009ec (patch) | |
tree | 5cecdf5644462b0cf6eb2ca0c5307d53c66c5316 /libpulse-mainloop-glib.pc.in | |
parent | ccf909ebf08c9e6e90fdb2edccbaf473ff7d83de (diff) |
build: Fix static linking
fixes bug #52038:
gcc -static x.c `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --static
--libs libpulse-simple`
/usr/bin/ld: error: cannot find -lpulsecommon-2.98
pulse/simple.c:373: error: undefined reference to 'pa_log_level_meta'
pulse/simple.c:374: error: undefined reference to 'pa_log_level_meta'
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Diffstat (limited to 'libpulse-mainloop-glib.pc.in')
-rw-r--r-- | libpulse-mainloop-glib.pc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpulse-mainloop-glib.pc.in b/libpulse-mainloop-glib.pc.in index 72631c92..23d84217 100644 --- a/libpulse-mainloop-glib.pc.in +++ b/libpulse-mainloop-glib.pc.in @@ -7,6 +7,6 @@ Name: libpulse-mainloop-glib Description: PulseAudio GLib 2.0 Main Loop Wrapper Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lpulse-mainloop-glib @PTHREAD_LIBS@ -Libs.private: -lpulsecommon-@PA_MAJORMINOR@ +Libs.private: -L${libdir}/pulseaudio -lpulsecommon-@PA_MAJORMINOR@ Cflags: -I${includedir} -D_REENTRANT Requires: libpulse glib-2.0 |