telephony/libs/pjproject/patches/100-uclibc-linker-unrecognized-options.patch
Jiri Slachta 54a41da8cc pjproject: new package for upcoming asterisk-13.x introduced
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2015-01-29 21:51:20 +01:00

11 lines
343 B
Diff

--- a/build/rules.mak
+++ b/build/rules.mak
@@ -13,7 +13,7 @@ SHLIB = $($(APP)_SHLIB)
SONAME = $($(APP)_SONAME)
ifeq ($(SHLIB_SUFFIX),so)
-SHLIB_OPT := -shared -Wl,-soname,$(SHLIB)
+SHLIB_OPT := -shared
else ifeq ($(SHLIB_SUFFIX),dylib)
SHLIB_OPT := -dynamiclib -undefined dynamic_lookup -flat_namespace
else ifeq ($(SHLIB_SUFFIX),dll)