Created
September 28, 2011 20:36
-
-
Save 2bits/1249187 to your computer and use it in GitHub Desktop.
flac-1.2.1/build/lib.mk patch for Mac OS ld to mark undefined symbols for dynamic_lookup, from Macports and/or Fink
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
--- build/lib.mk.orig 2007-09-13 10:51:25.000000000 +1000 | |
+++ build/lib.mk 2009-02-10 08:27:43.000000000 +1100 | |
@@ -51,7 +51,7 @@ | |
RELEASE_STATIC_LIB = $(RELEASE_LIBPATH)/$(STATIC_LIB_NAME) | |
RELEASE_DYNAMIC_LIB = $(RELEASE_LIBPATH)/$(DYNAMIC_LIB_NAME) | |
ifeq ($(DARWIN_BUILD),yes) | |
-LINKD = $(CC) -dynamiclib -flat_namespace -undefined suppress -install_name $(DYNAMIC_LIB) | |
+LINKD = $(CC) -dynamiclib -undefined dynamic_lookup -install_name $(DYNAMIC_LIB) | |
else | |
LINKD = $(CC) -shared | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment