LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File freeocl-0.3.6-disable-symbol-versioning.patch of Package freeocl (Project home:linux4humans:wine-staging)

--- a/src/icd/CMakeLists.txt	2018-01-07 00:13:17.000000000 +0100
+++ b/src/icd/CMakeLists.txt	2018-07-15 08:29:07.000000000 +0100
@@ -17,7 +17,7 @@
 
 add_library(OpenCL SHARED ${ICD_SOURCES} ${EXTRA_SOURCES})
 if(NOT CMAKE_HOST_APPLE)
-	set_target_properties(OpenCL PROPERTIES LINK_FLAGS "-Wl,--version-script=${FreeOCL_SOURCE_DIR}/OpenCL.map" VERSION 1.2 SOVERSION 1.2 SOVERSION 1 )
+	set_target_properties(OpenCL PROPERTIES VERSION 1.2 SOVERSION 1.2 SOVERSION 1 )
 endif(NOT CMAKE_HOST_APPLE)
 
 # Installation and packaging process