(2/2) configure changes for lion fix

Camillo Lugaresi camillo.lugaresi at gmail.com
Mon Aug 1 21:31:58 CDT 2011


Applied in a separate commit as per http://wiki.winehq.org/SubmittingPatches
---
 configure |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 0fbfd51..ea0999c 100755
--- a/configure
+++ b/configure
@@ -6417,7 +6417,14 @@ fi
 
     APPLICATIONSERVICESLIB="-framework ApplicationServices"
 
-    LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
+    case $host_os in
+      darwin11*)
+        LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
+        ;;
+      *)
+        LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
+        ;;
+    esac
 
     if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
     then
-- 
1.7.6




More information about the wine-patches mailing list