$OpenBSD$

Index: src/lib/fcitx/CMakeLists.txt
--- src/lib/fcitx/CMakeLists.txt.orig
+++ src/lib/fcitx/CMakeLists.txt
@@ -49,8 +49,7 @@ add_library(fcitx-core SHARED ${LIBFCITX_SOURCES})
 set_target_properties(fcitx-core
   PROPERTIES VERSION 0.3
   SOVERSION 0
-  COMPILE_FLAGS "-fvisibility=hidden"
-  LINK_FLAGS "-Wl,--no-undefined")
+  COMPILE_FLAGS "-fvisibility=hidden")
 
 configure_file(fcitx.pc.in ${CMAKE_CURRENT_BINARY_DIR}/fcitx.pc)
 
