From 6b7605054218043a1e83138d6566b7f9c5858594 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Thu, 21 Aug 2008 18:55:47 +0000 Subject: [PATCH] More portable parameter passing. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3039 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/Makeproject | 4 ++-- sc2/build/unix/build.config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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).