mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-10 19:14:57 +02:00
Building using MXE on UB 18.04 fails without ws2_32 being linked
explicitly.
This commit is contained in:
committed by
Thorsten Schöning
parent
966b53cda7
commit
0f34c2d459
@@ -7,7 +7,7 @@ add_executable(fwb_iosacl ${iosacl_srcs})
|
|||||||
target_link_libraries(fwb_iosacl common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_iosacl common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_iosacl lzma iconv)
|
target_link_libraries(fwb_iosacl lzma iconv ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ add_executable(fwb_ipf ${ipf_srcs})
|
|||||||
target_link_libraries(fwb_ipf common fwbpf compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_ipf common fwbpf compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_ipf lzma iconv)
|
target_link_libraries(fwb_ipf lzma iconv ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ add_executable(fwb_ipfw ${ipfw_srcs})
|
|||||||
target_link_libraries(fwb_ipfw common fwbpf compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_ipfw common fwbpf compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_ipfw lzma iconv)
|
target_link_libraries(fwb_ipfw lzma iconv ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
@@ -33,6 +33,10 @@ target_include_directories(iptlib PUBLIC
|
|||||||
|
|
||||||
target_link_libraries(iptlib compilerdriver)
|
target_link_libraries(iptlib compilerdriver)
|
||||||
|
|
||||||
|
IF (WIN32)
|
||||||
|
target_link_libraries(iptlib compilerdriver ws2_32)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
target_compile_options(iptlib PRIVATE ${CXX_DEFAULT_FLAGS})
|
target_compile_options(iptlib PRIVATE ${CXX_DEFAULT_FLAGS})
|
||||||
|
|
||||||
qt5_use_modules(iptlib Core)
|
qt5_use_modules(iptlib Core)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ add_executable(fwb_junosacl ${junosacl_srcs})
|
|||||||
target_link_libraries(fwb_junosacl common fwbcisco fwbjuniper compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_junosacl common fwbcisco fwbjuniper compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_junosacl iconv lzma)
|
target_link_libraries(fwb_junosacl iconv lzma ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ add_executable(fwb_nxosacl ${nxosacl_srcs})
|
|||||||
target_link_libraries(fwb_nxosacl common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_nxosacl common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_nxosacl lzma iconv)
|
target_link_libraries(fwb_nxosacl lzma iconv ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ add_executable(fwb_pf ${pf_srcs})
|
|||||||
target_link_libraries(fwb_pf common fwbpf compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_pf common fwbpf compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_pf lzma iconv)
|
target_link_libraries(fwb_pf lzma iconv ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ add_executable(fwb_pix ${pix_srcs})
|
|||||||
target_link_libraries(fwb_pix common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_pix common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_pix lzma iconv)
|
target_link_libraries(fwb_pix lzma iconv ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ add_executable(fwb_procurve_acl ${procurve_acl_srcs})
|
|||||||
target_link_libraries(fwb_procurve_acl common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
target_link_libraries(fwb_procurve_acl common fwbcisco compilerdriver fwcompiler fwbuilder xml2 pthread m xslt z)
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
target_link_libraries(fwb_procurve_acl lzma iconv)
|
target_link_libraries(fwb_procurve_acl lzma iconv ws2_32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF (UNIX)
|
IF (UNIX)
|
||||||
|
|||||||
Reference in New Issue
Block a user