diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-10-02 13:33:02 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-10-02 20:34:43 +0000 |
commit | 97972ea9ff4ba1dc485070197486bb5fffedf774 (patch) | |
tree | 6b1e1f2b749d298877fd607a6577306938603e4d /cmake/modules/UseWinLibs.cmake | |
parent | f4392340d6ff2b6956423e3d6a293811aa413a7f (diff) |
We should only link executables with setargv.obj.
Libraries shouldn't be linked with it.
See if this fixes the weird problems I'm having with mergecap -
including, apparently, the mergecap from the buildbots - when run with
wildcard arguments, terminating before it gets to main() (making it hard
to try to debug bug 15151).
Change-Id: Ie793b0ea8157186a121106636ac8b782457c09f5
Reviewed-on: https://code.wireshark.org/review/29985
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'cmake/modules/UseWinLibs.cmake')
-rw-r--r-- | cmake/modules/UseWinLibs.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/modules/UseWinLibs.cmake b/cmake/modules/UseWinLibs.cmake index d06fa1d41e..9f6135d60a 100644 --- a/cmake/modules/UseWinLibs.cmake +++ b/cmake/modules/UseWinLibs.cmake @@ -13,7 +13,4 @@ if( WIN32 ) set( WIN_COMCTL32_LIBRARY comctl32.lib ) set( WIN_VERSION_LIBRARY version.lib ) - # Linking with setargv.obj enables "wildcard expansion" of command-line arguments - set( WS_LINK_FLAGS "${WS_LINK_FLAGS} setargv.obj" ) - endif() |