Last active
December 16, 2015 17:09
-
-
Save leedm777/5468621 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is an attempt to fix some linking problems compiling Digium's fork of PJSIP on OS X. | |
diff --git a/build/rules.mak b/build/rules.mak | |
index dc74f52..d5006c7 100644 | |
--- a/build/rules.mak | |
+++ b/build/rules.mak | |
@@ -14,6 +14,8 @@ SONAME = $($(APP)_SONAME) | |
ifeq ($(SHLIB_SUFFIX),so) | |
SHLIB_OPT := -shared -Wl,-soname,$(SONAME) | |
+else ifeq ($(SHLIB_SUFFIX),dylib) | |
+SHLIB_OPT := -dynamiclib -undefined dynamic_lookup -flat_namespace | |
else | |
SHLIB_OPT := |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment