diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-09-13 16:48:13 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-09-13 16:48:13 +0000 |
commit | cffb22628bced139cd2f66ffaebe4a82fa1c5032 (patch) | |
tree | 42a31a00554722eae4019bfafb1f8a9e7f3eab90 | |
parent | de0d7959caf222f8a95443207e0415582c53d0c7 (diff) |
From Peter Johansson
PATH contents one had before starting the build, that PATH is added to the new PATH variable 5 additional times
instead of 1.
I have made changes (supplied) to config.nmake that takes care of this
problem.
svn path=/trunk/; revision=15782
-rw-r--r-- | config.nmake | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/config.nmake b/config.nmake index fa1393fbb7..eb5c720bf6 100644 --- a/config.nmake +++ b/config.nmake @@ -156,11 +156,11 @@ LOCAL_LDFLAGS=/DEBUG # Set PDB_FILE according to your VC++ version PDB_FILE=vc*.pdb -# add cygwin binaries to the path -PATH=$(PATH);c:\cygwin\bin +# Set up the path to the cygwin binaries +CYGWIN_PATH=c:\cygwin\bin -# add some required DLLs to the path -PATH=$(GLIB_DIR)\bin;$(GETTEXT_DIR)\bin;$(ICONV_DIR)\bin;$(PATH) +# Set up the path to some required DLLs +DLL_PATH=$(GLIB_DIR)\bin;$(GETTEXT_DIR)\bin;$(ICONV_DIR)\bin # Set the following commands to find the tools. @@ -299,7 +299,7 @@ WPCAP_CONSTIFIED= !ENDIF !IFDEF ZLIB_DIR -PATH=$(ZLIB_DIR);$(PATH) +ZLIB_PATH=$(ZLIB_DIR) ZLIB_CFLAGS=/I$(ZLIB_DIR)\include ZLIB_LIBS=$(ZLIB_DIR)\lib\zdll.lib # Nmake uses carets to escape special characters @@ -311,7 +311,7 @@ ZLIB_CONFIG= !ENDIF !IFDEF ADNS_DIR -PATH=$(ADNS_DIR)\adns_win32\lib;$(PATH) +ADNS_PATH=$(ADNS_DIR)\adns_win32\lib ADNS_CFLAGS=/I$(ADNS_DIR)\src /I$(ADNS_DIR)\adns_win32 ADNS_LIBS=$(ADNS_DIR)\adns_win32\lib\adns_dll.lib # Nmake uses carets to escape special characters @@ -323,7 +323,7 @@ ADNS_CONFIG= !ENDIF !IFDEF PCRE_DIR -PATH=$(PCRE_DIR)\bin;$(PATH) +PCRE_PATH=$(PCRE_DIR)\bin PCRE_CFLAGS=/I$(PCRE_DIR)\include PCRE_LIBS=$(PCRE_DIR)\lib\pcre.lib # Nmake uses carets to escape special characters @@ -350,3 +350,6 @@ LIBETHEREAL_CONFIG=^#define HAVE_LIBETHEREALDLL 1 !ELSE LIBETHEREAL_CONFIG= !ENDIF + +# Construct the path +PATH=$(CYGWIN_PATH);$(DLL_PATH);$(ZLIB_PATH);$(ADNS_PATH);$(PATH)
\ No newline at end of file |