[MERGED] osmo-bts[master]: Fix static build of osmo-bts-trx and osmo-bts-virtual.

2017-08-20 Thread Alexander Chemeris
Alexander Chemeris has submitted this change and it was merged. Change subject: Fix static build of osmo-bts-trx and osmo-bts-virtual. .. Fix static build of osmo-bts-trx and osmo-bts-virtual. New libosmocore has some plugin

osmo-bts[master]: Fix static build of osmo-bts-trx and osmo-bts-virtual.

2017-08-20 Thread Alexander Chemeris
Patch Set 1: > I'm not sure what's "new" about it? dlopen() has been introduced into > libosmocore in 2010: Not sure. May be somehow it wasn't used previously and was optimized out by the linker and now it's used? Frankly I haven't looked at the reasons - I just noticed that it was building

osmo-bts[master]: Fix static build of osmo-bts-trx and osmo-bts-virtual.

2017-08-20 Thread Harald Welte
Patch Set 1: Code-Review+2 (1 comment) https://gerrit.osmocom.org/#/c/3552/1//COMMIT_MSG Commit Message: Line 9: New libosmocore has some plugin system which requires dlopen(). So we need I'm not sure what's "new" about it? dlopen() has been introduced into libosmocore in 2010: commit

[PATCH] osmo-bts[master]: Fix static build of osmo-bts-trx and osmo-bts-virtual.

2017-08-17 Thread Alexander Chemeris
Review at https://gerrit.osmocom.org/3552 Fix static build of osmo-bts-trx and osmo-bts-virtual. New libosmocore has some plugin system which requires dlopen(). So we need to make sure we always link with libdl, even when building statically. Note that this doesn't fix static build of tests -