aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-09-29 17:05:46 +0000
committerBill Meier <wmeier@newsguy.com>2008-09-29 17:05:46 +0000
commitf5ef397375a0e2b981d64d02f5ba465c2da478a5 (patch)
tree87bc291524b484aa36a6d3d310e699d5d49ea455 /Makefile.nmake
parent34c2c82499c38d55de92af8baa067918a81b83ec (diff)
Windows Vista: Fix so 'touch --reference ...' file mod time is always gt Makefile.nmake time
svn path=/trunk/; revision=26292
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.nmake b/Makefile.nmake
index 97a06da4d8..11aab9be57 100644
--- a/Makefile.nmake
+++ b/Makefile.nmake
@@ -685,10 +685,12 @@ check_libs:
# (or dummy file doesn't exist because of 'make clean' or whatever)
# (To disable library verification when Makefile.nmake changes,
# comment out the commands for the following target).
-# touch is only called if libverify succeeds
+# touch is only called if libverify succeeds.
+# (One microsec is added to the makefile.nmake time since the time set by [cygwin ?] 'touch --reference'
+# apparently has the nanosecs truncated from the reference file time [at least on Windows Vista]).
$(LIBS_CHECK): Makefile.nmake
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake WIN32_SETUP_OPT=--libverify process_libs
- @touch --reference=Makefile.nmake $@
+ @touch --reference=Makefile.nmake -d "+0.000001 sec" $@
# Download (if needed) and install all the required libraries into WIRESHARK_LIBS.
# A clean_setup is done first to ensure that the target dirs don't