$OpenBSD$

Index: src/lib/fcitx-gclient/CMakeLists.txt
--- src/lib/fcitx-gclient/CMakeLists.txt.orig
+++ src/lib/fcitx-gclient/CMakeLists.txt
@@ -51,8 +51,7 @@ add_library(fcitx-gclient SHARED ${FCITX_GCLIENT_SOURC
 set_target_properties(fcitx-gclient
   PROPERTIES VERSION 0.2
   SOVERSION 1
-  COMPILE_FLAGS "-fvisibility=hidden"
-  LINK_FLAGS "-Wl,--no-undefined")
+  COMPILE_FLAGS "-fvisibility=hidden")
 target_link_libraries(fcitx-gclient ${GIO2_LIBRARIES}
   ${DBUS_LIBRARIES} fcitx-utils)
 configure_file(fcitx-gclient.pc.in ${CMAKE_CURRENT_BINARY_DIR}/fcitx-gclient.pc)
