mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
libre: fix ld argument
When using the default Build/Compile routine $LD is set to the actual linker, so libre's build system is not using ld indirectly via the compiler anymore. But it feeds -rdynamic to ld instead of --export-dynamic. Fix that with this patch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
11
libs/re/patches/003-fix-linker-call.patch
Normal file
11
libs/re/patches/003-fix-linker-call.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/mk/re.mk
|
||||
+++ b/mk/re.mk
|
||||
@@ -235,7 +235,7 @@ ifeq ($(OS),linux)
|
||||
LFLAGS += -fPIC
|
||||
SH_LFLAGS += -shared
|
||||
MOD_LFLAGS +=
|
||||
- APP_LFLAGS += -rdynamic
|
||||
+ APP_LFLAGS += --export-dynamic
|
||||
AR := ar
|
||||
AFLAGS := crD
|
||||
endif
|
||||
Reference in New Issue
Block a user