Module: kamailio
Branch: master
Commit: 6208c36bd1ca8807c12411e21b136e7c410760f3
URL:
https://github.com/kamailio/kamailio/commit/6208c36bd1ca8807c12411e21b136e7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-01-18T14:08:06+01:00
Merge pull request #934 from ffontaine/master
Reuse PERLLDOPTS in db_perlvdb
---
Modified: src/modules/db_perlvdb/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/6208c36bd1ca8807c12411e21b136e7…
Patch:
https://github.com/kamailio/kamailio/commit/6208c36bd1ca8807c12411e21b136e7…
---
diff --git a/src/modules/db_perlvdb/Makefile b/src/modules/db_perlvdb/Makefile
index 47830a2..0a062bc 100644
--- a/src/modules/db_perlvdb/Makefile
+++ b/src/modules/db_perlvdb/Makefile
@@ -4,7 +4,11 @@
include ../../Makefile.defs
auto_gen=
NAME=db_perlvdb.so
-LIBS:=$(shell perl -MExtUtils::Embed -e ldopts)
+ifeq ($(PERLLDOPTS),)
+ LIBS:=$(shell perl -MExtUtils::Embed -e ldopts)
+else
+ LIBS+=$(PERLLDOPTS)
+endif
PERL_DEFS:=$(shell perl -MExtUtils::Embed -e ccopts)
DEFS+=$(PERL_DEFS)