File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ if(ENABLE_SHARED_LIB)
568568 else ()
569569 target_link_libraries ( clamav PUBLIC Iconv::Iconv )
570570 endif ()
571- if (UNIX )
571+ if (UNIX AND NOT APPLE )
572572 target_link_options ( clamav PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR} /libclamav.map" )
573573 endif ()
574574 if (WIN32 )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ if(ENABLE_UNRAR)
6262
6363 if (WIN32 )
6464 set_target_properties (clamunrar_iface PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )
65- elseif (UNIX )
65+ elseif (UNIX AND NOT APPLE )
6666 target_link_options (clamunrar_iface PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR} /libclamunrar_iface.map" )
6767 endif ()
6868
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if(ENABLE_SHARED_LIB)
5858
5959 if (WIN32 )
6060 set_target_properties (freshclam PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )
61- elseif (UNIX )
61+ elseif (UNIX AND NOT APPLE )
6262 target_link_options (freshclam PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR} /libfreshclam.map" )
6363 endif ()
6464 set_target_properties (freshclam PROPERTIES
You can’t perform that action at this time.
0 commit comments