$OpenBSD$

Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -134,7 +134,7 @@ add_executable(compton-conf
 
 target_link_libraries(compton-conf
   ${QTX_LIBRARIES}
-  ${LIBCONFIG_LIBRARIES}
+  ${LIBCONFIG_LDFLAGS}
 )
 
 install(TARGETS compton-conf RUNTIME DESTINATION bin)
