Don't add a hardcoded path that's unlikely to actually exist to the include path on OS X

This commit is contained in:
Thomas Goyne 2013-01-23 16:42:37 -08:00
parent a942687050
commit 2d646b447d

View file

@ -8,11 +8,6 @@ CPPFLAGS += $(CPPFLAGS_BOOST)
PRECOMPILED_HEADER_NAME = lagi_pre.h PRECOMPILED_HEADER_NAME = lagi_pre.h
lagi_pre.h.gch: CXXFLAGS := $(CXXFLAGS) lagi_pre.h.gch: CXXFLAGS := $(CXXFLAGS)
ifeq (yes, $(BUILD_DARWIN))
CXXFLAGS += -I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/
LIBS += -L../universalchardet -luniversalchardet
endif
common/charset_conv.o: CXXFLAGS += $(CFLAGS_ICONV) common/charset_conv.o: CXXFLAGS += $(CFLAGS_ICONV)
unix/path.o: CXXFLAGS += -DP_DATA=\"$(P_DATA)\" -DP_DOC=\"$(P_DOC)\" -DP_LOCALE=\"$(P_LOCALE)\" unix/path.o: CXXFLAGS += -DP_DATA=\"$(P_DATA)\" -DP_DOC=\"$(P_DOC)\" -DP_LOCALE=\"$(P_LOCALE)\"