add special CONFIG_CFLAGS for darwin
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 3 May 2005 00:11:25 +0000 (00:11 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 3 May 2005 00:11:25 +0000 (00:11 +0000)
build/config.mk

index 1510f80..4137dd3 100644 (file)
@@ -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