python/virtualenv: update to 20.29.1
[oi-userland.git] / components / library / libproxy / patches / 01-link-map.patch
blob903c8d96eaeaf11574c69b1c372feeadc7560274
1 Solaris linker doesn't like --version-script and maps
2 with some symbols not being specified.
4 --- libproxy-0.4.16/libproxy/cmake/libproxy.cmk
5 +++ libproxy-0.4.16/libproxy/cmake/libproxy.cmk
6 @@ -21,7 +21,7 @@ set_property(SOURCE ${CMAKE_CURRENT_SOUR
7 set_target_properties(libproxy PROPERTIES PREFIX "" VERSION 1.0.0 SOVERSION 1)
8 set_target_properties(libproxy PROPERTIES INTERFACE_LINK_LIBRARIES "")
9 set_target_properties(libproxy PROPERTIES LINK_INTERFACE_LIBRARIES "")
10 -if(NOT APPLE)
11 +if(NOT APPLE AND NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
12 set_target_properties(libproxy PROPERTIES LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/libproxy.map")
13 endif()
14 install(TARGETS libproxy DESTINATION ${LIB_INSTALL_DIR})