aboutsummaryrefslogtreecommitdiffstats
path: root/libosmo-sccp.pc.in
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-03 13:03:29 +0000
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-03 13:04:34 +0000
commitda1ca89bcb4c27b03bd04bbc0e588e93ef4b9374 (patch)
tree24c3248a1af34199ec8730d25fb4ca25ec98f80a /libosmo-sccp.pc.in
parent8e4bcfef3c69097c8755a14f85504a22132bd7c6 (diff)
Revert "Fix the .pc files so the -l arg matches the installed libraries"
This reverts commit ed9e76e46e530faf2560fc875ecbe83faff8d809. The libraries in src/ do not have 'osmo' in their name, hence neither in $prefix/lib. This patch caused linking failure. Reproduce: do not have libosmo-sccp installed in the system and make sure no older pkg-config pc files are around. Build all dependencies with an arbitrary --prefix passed to configure scripts. Point PKG_CONFIG_PATH (and optionally LD_LIBRARY_PATH) to this prefix. Finally, build openbsc using the same --prefix: even though libosmo-sccp has been installed, it complains: CCLD osmo-bsc_nat /usr/bin/ld: cannot find -losmo-sccp collect2: error: ld returned 1 exit status Makefile:447: recipe for target 'osmo-bsc_nat' failed Change-Id: I1a113604b2f037b897954fe8d370291d3c1e2a0a
Diffstat (limited to 'libosmo-sccp.pc.in')
-rw-r--r--libosmo-sccp.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libosmo-sccp.pc.in b/libosmo-sccp.pc.in
index 9dd18c1..eda8d49 100644
--- a/libosmo-sccp.pc.in
+++ b/libosmo-sccp.pc.in
@@ -6,5 +6,5 @@ includedir=@includedir@
Name: OpenBSC SCCP Lib
Description: OpenBSC SCCP Lib
Version: @VERSION@
-Libs: -L${libdir} -losmo-sccp
+Libs: -L${libdir} -lsccp
Cflags: -I${includedir}/