aboutsummaryrefslogtreecommitdiffstats
path: root/epan/Makefile.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-04-08 19:15:10 +0000
committerGerald Combs <gerald@wireshark.org>2009-04-08 19:15:10 +0000
commite2cd2bf4f2e515e8cbc68e4610c1c2786c352042 (patch)
tree91a437cc37fc5231e8ab7dbe3c815d81ff9b755f /epan/Makefile.nmake
parentff6524090664467444ecffbdbd7045fe61d013ec (diff)
Don't assemble asm_utils_win32_x86 on x64. Export a dummy read_keytab_file
if we're not using any encryption libraries on Windows. This fixes the last Win64 compilation problems in epan. svn path=/trunk/; revision=28008
Diffstat (limited to 'epan/Makefile.nmake')
-rw-r--r--epan/Makefile.nmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake
index 47284c7dbc..7b82c8387b 100644
--- a/epan/Makefile.nmake
+++ b/epan/Makefile.nmake
@@ -65,7 +65,7 @@ EXTRA_OBJECTS = \
inet_ntop.obj \
mkstemp.obj \
strptime.obj \
-!IFDEF NASM
+!IF defined(NASM) && "$(WIRESHARK_TARGET_PLATFORM)" == "win32"
asm_utils_win32_x86.obj
!ELSE
asm_utils.obj
@@ -272,7 +272,7 @@ reassemble_test_install:
#
!IFDEF NASM
asm_utils_win32_x86.obj: asm_utils_win32_x86.asm
- $(NASM) -f win32 -o $@ $?
+ $(NASM) -f $(WIRESHARK_TARGET_PLATFORM) -o $@ $?
!ENDIF
# (Windows only) Copy some sources from /trunk to /trunk/epan.