From fae27580e9bdb05e560f8db288c3751f539a0684 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 29 Oct 2016 12:38:49 +0300 Subject: [PATCH] + info about building environment in readme --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/readme.md b/readme.md index 071cfbed..ddad0eed 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,12 @@ ## ZDoom / GZDoom / QZDoom dependencies for macOS Dependencies to build [ZDoom](http://zdoom.org) / [GZDoom](http://gzdoom.drdteam.org/) / [QZDoom](http://qzdoom.drdteam.org/) binaries for macOS + +Libraries were built with the following environment variables set: +``` +export CFLAGS="-I/usr/local/include -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk" +export CXXFLAGS="-I/usr/local/include -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk" +export CPPFLAGS="-I/usr/local/include -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk" +export LDFLAGS="-L/usr/local/lib -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk" +``` +Mac OS X 10.7 SDK was obtained from Xcode 4.6.3 which is the last version with Lion support.