diff --git a/sc2/Makeproject b/sc2/Makeproject index 6b43d3032..15a49ff5b 100644 --- a/sc2/Makeproject +++ b/sc2/Makeproject @@ -8,9 +8,9 @@ else uqm_OBJS=obj/release/ # Directory for object files uqm_NAME=uqm # File name of executable fi -uqm_CFLAGS="$uqm_CFLAGS -I src -I src/sc2code -I src/sc2code/libs" +uqm_CFLAGS="$uqm_CFLAGS -Isrc -Isrc/sc2code -Isrc/sc2code/libs" if [ "$uqm_HAVE_REGEX" = 0 ]; then - uqm_CFLAGS="$uqm_CFLAGS -I src/regex" + uqm_CFLAGS="$uqm_CFLAGS -Isrc/regex" fi # Stuff to install under the directory for libraries, as specified during diff --git a/sc2/build/unix/build.config b/sc2/build/unix/build.config index ef81c2113..11e4f8bce 100644 --- a/sc2/build/unix/build.config +++ b/sc2/build/unix/build.config @@ -347,7 +347,7 @@ uqm_process_config() { # Set the content dir CONTENTDIR="${INSTALL_SHAREDIR}uqm/content" - CFLAGS="$CFLAGS -I \"$BUILD_WORK\"" + CFLAGS="$CFLAGS -I\"$BUILD_WORK\"" # Export the HAVE_ symbols to config_unix.h, using config_unix.h.in # as template (or config_win.h/config_win.h.in).