sdk/OS X: Updated build instructions in configure, fixed warning
authorJerome St-Louis <jerome@ecere.com>
Fri, 16 Nov 2012 23:32:23 +0000 (18:32 -0500)
committerJerome St-Louis <jerome@ecere.com>
Fri, 16 Nov 2012 23:32:23 +0000 (18:32 -0500)
configure
crossplatform.mk

index f4f00a9..066bfd7 100644 (file)
--- a/configure
+++ b/configure
@@ -3,8 +3,14 @@ echo "The Ecere cross-platform SDK is pre-configured. Just type:
                mingw32-make; if you're on Microsoft® Windows™
                                (You need MinGW: http://www.mingw.org/)
 
-               make;   if you're on Apple® Mac™ OS X™
-                               (Leopard™/Xcode™ recommended)
+      If you're on Apple® Mac™ OS X™, first add your toolchain bin directory
+      to the path and set SYSROOT to the SDK directory. e.g. with Xcode 4.5.2:
+
+               export PATH=$PATH:/Applications/Xcode.app/Contents/Developer/usr/bin
+      export SYSROOT=/Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk
+      make;
+                               (Lion™/Xcode 4.5.2™ recommended)
+
 
 or simply      make;  if you are on GNU/Linux™
 
index 308660f..a8d74e3 100755 (executable)
@@ -222,5 +222,7 @@ OPENSSL_LIB_DIR = .
 OPENSSL_BIN_DIR = .
 endif
 else
+ifndef OSX_TARGET
 OFLAGS += -L/usr/lib/ec
 endif
+endif