Skip to content

Commit

Permalink
[Bug #19778] Add -I options for opt-dir to $INCFLAGS
Browse files Browse the repository at this point in the history
These options have been separated from `$CFLAGS` already in the
other places.
  • Loading branch information
nobu committed Sep 15, 2023
1 parent 74277f9 commit fe0225f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ AS_IF([test "x$OPT_DIR" != x], [
LDFLAGS="${LDFLAGS:+$LDFLAGS }$val"
DLDFLAGS="${DLDFLAGS:+$DLDFLAGS }$val"
LDFLAGS_OPTDIR="$val"
CPPFLAGS="${CPPFLAGS:+$CPPFLAGS }"`echo "$OPT_DIR" | tr "${PATH_SEPARATOR}" '\012' |
INCFLAGS="${INCFLAGS:+$INCFLAGS }"`echo "$OPT_DIR" | tr "${PATH_SEPARATOR}" '\012' |
sed '/^$/d;s|^|-I|;s|$|/include|' | tr '\012' ' ' | sed 's/ *$//'`
])

Expand Down

0 comments on commit fe0225f

Please sign in to comment.