Ensure the proper cflags are set for common/charset_conv.cpp in libaegisub. Also fix iconv include path on *bsd.

Originally committed to SVN as r5145.
This commit is contained in:
Amar Takhar 2011-01-08 17:46:46 +00:00
parent 69af40edc6
commit 3f110101aa
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ case "$target_or_host" in
*-*-*bsd*)
build_bsd="yes"
ICONV_CFLAGS="-I/usr/local/include"
;;
*)

View File

@ -16,6 +16,7 @@ CXXFLAGS += -I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServi
LDFLAGS += -L../universalchardet -luniversalchardet
endif
common/charset_conv.o: CXXFLAGS += $(CFLAGS_ICONV)
SRC = \
common/charset.cpp \