summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2005-05-03 00:11:25 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2005-05-03 00:11:25 +0000
commitd8e59d2f6cd0433a9e018e09c73b8eb1cbb8b6b7 (patch)
treef7a1592c0ec9ec32f9c05a7ab39fb70d0a2acb93
parenta02b73f5eaac1e24042bbf7f51c5268aa9063f7e (diff)
downloadflac-d8e59d2f6cd0433a9e018e09c73b8eb1cbb8b6b7.tar.gz
add special CONFIG_CFLAGS for darwin
-rw-r--r--build/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/config.mk b/build/config.mk
index 1510f802..4137dd3c 100644
--- a/build/config.mk
+++ b/build/config.mk
@@ -42,7 +42,12 @@ all default: $(DEFAULT_BUILD)
VERSION=\"1.1.2\"
+ifeq ($(DARWIN_BUILD),yes)
+#CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_SOCKLEN_T -DFLAC__HAS_OGG -DFLAC__SYS_DARWIN
+CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DFLAC__HAS_OGG -DFLAC__SYS_DARWIN
+else
CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_SOCKLEN_T -DFLAC__HAS_OGG
+endif
ICONV_INCLUDE_DIR=$(HOME)/local.i18n/include
ICONV_LIB_DIR=$(HOME)/local.i18n/lib