summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stlport/STLport-4.5-macxp-panther.patch12
1 files changed, 9 insertions, 3 deletions
diff --git a/stlport/STLport-4.5-macxp-panther.patch b/stlport/STLport-4.5-macxp-panther.patch
index 5578173c1443..6aa99b9d2ae6 100644
--- a/stlport/STLport-4.5-macxp-panther.patch
+++ b/stlport/STLport-4.5-macxp-panther.patch
@@ -83,7 +83,7 @@
***************
*** 1 ****
! dummy
---- 1,59 ----
+--- 1,65 ----
! #
! # Note : this makefile is for gcc-3, Mac OS X only !
! #
@@ -104,8 +104,14 @@
! #
! #
! LINK=libtool -static -o
-! DYN_LINK=$(CXX) -dynamiclib -single_module -install_name @executable_path/libstlport_gcc.dylib -o
-!
+! DYN_LINK=g++ -o
+!
+! LDFLAGS_COMMON_dynamic= -dynamiclib -single_module
+!
+! LDFLAGS_RELEASE_dynamic= $(LDFLAGS_COMMON_dynamic) -install_name @executable_path/libstlport_gcc.dylib
+! LDFLAGS_DEBUG_dynamic= $(LDFLAGS_COMMON_dynamic) -install_name @executable_path/libstlport_gcc.dylib
+! LDFLAGS_STLDEBUG_dynamic= $(LDFLAGS_COMMON_dynamic) -install_name @executable_path/libstlport_gcc_stldebug.dylib
+!
! OBJEXT=o
! DYNEXT=dylib
! STEXT=a