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:
/usr/bin/ld: cannot find -losmo-sccp
collect2: error: ld returned 1 exit status
Makefile:447: recipe for target 'osmo-bsc_nat' failed