Link setargv.obj for Windows in CMake so mergecap works
Mergecap needs setargv.obj in order to get wildcard support. This is linked in nmake but not cmake. Bug: 10354 Change-Id: Icccf6b36495ac4b376f651d689b4a1f9e2c6042d Reviewed-on: https://code.wireshark.org/review/10143 Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com>
This commit is contained in:
parent
6fb6edeaf1
commit
3b5a1f257f
|
@ -12,9 +12,9 @@ if( WIN32 )
|
|||
set( WIN_WSOCK32_LIBRARY wsock32.lib )
|
||||
set( WIN_COMCTL32_LIBRARY comctl32.lib )
|
||||
|
||||
# Looks like this is not needed after all
|
||||
# set( WIN_SETARGV_OBJECT setargv.obj )
|
||||
# Linking with setargv.obj enables "wildcard expansion" of command-line arguments
|
||||
set( WIN_SETARGV_OBJECT setargv.obj )
|
||||
#
|
||||
# set( WS_LINK_FLAGS ${WS_LINK_FLAGS} "${WIN_SETARGV_OBJECT}" )
|
||||
set( WS_LINK_FLAGS ${WS_LINK_FLAGS} "${WIN_SETARGV_OBJECT}" )
|
||||
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue