PERLLDOPTS is already used in app_perl module. Reuse this variable in db_perlvdb module instead of always setting LIBS to (shell perl -MExtUtils::Embed -e ldopts) Indeed, this will not work when cross-compiling (the value will be retrieved for the host perl and not the target perl)
Signed-off-by: Fabrice Fontaine fabrice.fontaine@orange.com You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/934
-- Commit Summary --
* Reuse PERLLDOPTS in db_perlvdb
-- File Changes --
M src/modules/db_perlvdb/Makefile (6)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/934.patch https://github.com/kamailio/kamailio/pull/934.diff