Explicitly link against libdl, the build breaks for some people without it

for some reason.


svn path=/branches/work/kwin_composite/; revision=603677
This commit is contained in:
Luboš Luňák 2006-11-09 18:01:45 +00:00
parent 8036be5f52
commit 91872885ff

View file

@ -68,6 +68,8 @@ kde4_add_kdeinit_executable( kwin ${kwin_KDEINIT_SRCS})
target_link_libraries(kdeinit_kwin ${KDE4_KDEUI_LIBS} kdecorations ${X11_LIBRARIES} ${QT_QT3SUPPORT_LIBRARY} )
target_link_libraries(kdeinit_kwin -lGL)
# -ldl used by OpenGL code
target_link_libraries(kdeinit_kwin -ldl)
if (X11_Xcomposite_FOUND)
target_link_libraries(kdeinit_kwin ${X11_Xcomposite_LIB})
endif (X11_Xcomposite_FOUND)