aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-12-02 13:00:06 +0000
committerJörg Mayer <jmayer@loplof.de>2013-12-02 13:00:06 +0000
commitacccbc79c54b61aa5111ca965103db1fc190d4ca (patch)
treec707291d4ae2e99385cb2617cb8fd87930dd5356 /config.nmake
parent20799bdeb49c1d21074b84901cfce326f28b9cfd (diff)
nmake: Allow setting the wireshark base dir via env variable
svn path=/trunk/; revision=53718
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.nmake b/config.nmake
index 5df2584816..4829654d26 100644
--- a/config.nmake
+++ b/config.nmake
@@ -50,8 +50,12 @@ WTAP_VERSION_MICRO=0
# This can be defined in the system environment.
#
!IFNDEF WIRESHARK_LIB_DIR
+!IFDEF WIRESHARK_BASE_DIR
+WIRESHARK_LIB_DIR=$(WIRESHARK_BASE_DIR)\$(PROGRAM_NAME)-$(WIRESHARK_TARGET_PLATFORM)-libs
+!ELSE
WIRESHARK_LIB_DIR=C:\$(PROGRAM_NAME)-$(WIRESHARK_TARGET_PLATFORM)-libs
!ENDIF
+!ENDIF
#
# Base directory, where your programs reside.