summaryrefslogtreecommitdiff
path: root/geography/opencpn/patches/patch-plugins_wmm_pi_cmake_PluginConfigure.cmake
blob: 6909cd6513b8fa866d721adcc9fe3d2ddf185579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- plugins/wmm_pi/cmake/PluginConfigure.cmake.orig	2016-02-10 17:29:03.000000000 +0100
+++ plugins/wmm_pi/cmake/PluginConfigure.cmake	2016-02-10 17:30:10.000000000 +0100
@@ -41,11 +41,9 @@
  ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O2 -fexceptions" )
  ENDIF(PROFILING)
 
- IF(NOT APPLE)
-  SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
- ELSE(NOT APPLE)
+ IF(APPLE)
   SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
- ENDIF(NOT APPLE)
+ ENDIF(APPLE)
 
 ENDIF(NOT MSVC)