From 2211813e2190007b42e4385e06c5d10959f74e75 Mon Sep 17 00:00:00 2001 From: Tim Furlong Date: Mon, 30 Jun 2014 22:54:46 -0400 Subject: Add logic to config.nmake to find 64-bit cygwin, and a note warning about forward slashes in the QT5_BASE_PATH if the recommended qmake command is used; both of these issues will cause annoyingly non- obvious errors. Change-Id: I6f9a662969d1fc1887e75e8b0fde3520bbbea416 Reviewed-on: https://code.wireshark.org/review/2749 Reviewed-by: Evan Huus Reviewed-by: Anders Broman --- config.nmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.nmake') diff --git a/config.nmake b/config.nmake index 9d8d45b88e..90695fee57 100644 --- a/config.nmake +++ b/config.nmake @@ -317,6 +317,8 @@ GTK_INST_VERSION=3.4 # installation directory: # http://stackoverflow.com/questions/913642/qmake-and-qt-install-prefix-how-can-i-select-a-new-location-for-qt-library # +# NOTE> the qmake command given below returns a path with forward slashes, +# which will need to be changed to backslashes for things to work properly #QT5_BASE_DIR=output of "qmake -query QT_INSTALL_PREFIX" !IF !DEFINED(QT5_BASE_DIR) # Wireshark custom @@ -758,6 +760,13 @@ GTK_SCHEMAS_DIR=\share\glib-2.0\schemas # Set up the path to the cygwin binaries CYGWIN_PATH=c:\cygwin\bin +# If that doesn't exist, check for a 64-bit cygwin installation +!IF !EXIST($(CYGWIN_PATH)) && EXIST(C:\cygwin64\bin) +CYGWIN_PATH=C:\cygwin64\bin +!ELSE +!ERROR Could not locate Cygwin, please set CYGWIN_PATH explicitly in config.nmake +!ENDIF + # command for a shell (cygwin's bash package recommended) SH_PROG=bash -- cgit v1.2.3