projects
/
kamailio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5149dc1
)
make sure symbols are exported from main binary to allow loading modules
author
Tzafrir Cohen
<tzafrir@debian.org>
Thu, 17 Jan 2019 07:13:17 +0000
(07:13 +0000)
committer
Victor Seva
<vseva@debian.org>
Thu, 17 Jan 2019 07:13:17 +0000
(07:13 +0000)
Gbp-Pq: Name fix_export.patch
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index 57f441c0b3f6be9bbe36b64d3ec057eb50acb08b..3352db85211c9a87a2f63a6e76ae80f39f2d3851 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-139,6
+139,8
@@
endif
main_makefile=1
include Makefile.defs
+$(MAIN_NAME): LDFLAGS += -Wl,--export-dynamic
+
static_modules_path=$(addprefix modules/, $(static_modules))
extra_sources=$(wildcard $(addsuffix /*.c, $(static_modules_path)))
extra_objs=$(extra_sources:.c=.o)