diff options
author | Bruno Haible <bruno@clisp.org> | 2006-03-14 14:24:47 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:13:02 +0200 |
commit | 23bb4012325d594663a6309b2cc801ef99556464 (patch) | |
tree | 873b7409cd4813ec5dedbf4950641ef36d24b5d4 /gettext-tools/tests/lang-objc | |
parent | 97d0e980135554fe5a8ee4cfb59e410bf9d81ae3 (diff) | |
download | gettext-23bb4012325d594663a6309b2cc801ef99556464.tar.gz |
Override default -I flags.
Diffstat (limited to 'gettext-tools/tests/lang-objc')
-rwxr-xr-x | gettext-tools/tests/lang-objc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gettext-tools/tests/lang-objc b/gettext-tools/tests/lang-objc index 53f7ae690..2ab2b3fd0 100755 --- a/gettext-tools/tests/lang-objc +++ b/gettext-tools/tests/lang-objc @@ -62,7 +62,10 @@ EOF top_builddir=.. tmpfiles="$tmpfiles prog.${OBJEXT} prog${EXEEXT}" -${LIBTOOL} --quiet --mode=link ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o prog prog.m -I.. -I$top_srcdir/lib ../lib/libgettextlib.la -I../intl ${LTLIBINTL} \ +# Put the -I flags before ${CFLAGS} ${CPPFLAGS}, to make sure that libintl.h +# is found in the build directory, regardless of -I options present in +# ${CFLAGS} or ${CPPFLAGS}. +${LIBTOOL} --quiet --mode=link ${CC} -I.. -I$top_srcdir/lib ../lib/libgettextlib.la -I../intl ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o prog prog.m ${LTLIBINTL} \ || exit 1 tmpfiles="$tmpfiles prog.pot" |