projects
/
kamailio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc46ede
)
make sure symbols are exported from main binary to allow loading modules
author
Tzafrir Cohen
<tzafrir@debian.org>
Fri, 29 Sep 2023 14:39:21 +0000
(16:39 +0200)
committer
Raspbian forward porter
<root@raspbian.org>
Sat, 10 Feb 2024 11:06:59 +0000
(11:06 +0000)
Gbp-Pq: Name fix_export.patch
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index 7c78f6ca38bce92436f9264f2fba7e756dba6512..eb1a8c693a1f41649b2a778bd244787a394da346 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)