From dc35f927f786252e9325e1da10dce668c61be29b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 17 Apr 2015 11:24:33 +0200 Subject: made libflac possible to compile under xcode, and simplify for other (nw) --- scripts/src/3rdparty.lua | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'scripts') diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index e8c73eb3bae..39bc6b65e74 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -172,15 +172,10 @@ project "flac" "_LARGEFILE_SOURCE", "_FILE_OFFSET_BITS=64", "FLAC__HAS_OGG=0", + "HAVE_CONFIG_H=1", } - configuration { "vs*" } - defines { - "VERSION=\"1.2.1\"" - } - configuration { "gmake" } - defines { - "VERSION=\\\"1.2.1\\\"" - } + + configuration { "gmake"} buildoptions_c { "-Wno-unused-function", "-O0", -- cgit v1.2.3