Commit Graph

3 Commits

Author SHA1 Message Date
Neels Hofmeyr da1ca89bcb Revert "Fix the .pc files so the -l arg matches the installed libraries"
This reverts commit ed9e76e46e.

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
2016-11-03 13:04:34 +00:00
Arran Cudbard-Bell ed9e76e46e
Fix the .pc files so the -l arg matches the installed libraries
Change-Id: I967f3c3031777837fee8717ca3f6bb59d6614149
2016-11-02 19:04:36 -04:00
Holger Hans Peter Freyther 7cab49b434 sccp: Rename the pkg-config file to osmo-sccp 2010-07-30 02:31:19 +08:00