ltdl.c in kinit
Paulo Jorge Guedes
Paulo.Guedes at artelecom.pt
Mon Apr 17 18:22:06 CEST 2006
Hi,
This commit:
--- CMakeLists.txt (revision 530673)
+++ CMakeLists.txt (working copy)
@@ -84,7 +84,7 @@
########### next target ###############
-set(kioslave_SRCS kioslave.cpp)
+set(kioslave_SRCS kioslave.cpp ${CMAKE_SOURCE_DIR}/libltdl/ltdl.c)
kde4_automoc(${kioslave_SRCS})
The code from ltdl.c is already in libkdecore, which kioslave links to,
so no need to add it again.
____________________________________
breaks linkage on Windows (both mingw and msvc). It makes sense though
:)
There is a similar case with kstyles/keramic.
CMakeFiles/kioslave.dir/kioslave.obj: In function `main':
d:/kde/kdelibs/kinit/kioslave.cpp:66: undefined reference to `lt_dlinit'
CMakeFiles/kioslave.dir/kioslave.obj: In function `main':
D:/downloads/qt-win-opensource-src-4.1.1/include/QtCore/qbytearray.h:329
: undefined reference to `lt_dlopen'
CMakeFiles/kioslave.dir/kioslave.obj: In function `main':
d:/kde/kdelibs/kinit/kioslave.cpp:76: undefined reference to `lt_dlsym'
d:/kde/kdelibs/kinit/kioslave.cpp:71: undefined reference to
`lt_dlerror'
d:/kde/kdelibs/kinit/kioslave.cpp:79: undefined reference to `lt_dlsym'
d:/kde/kdelibs/kinit/kioslave.cpp:82: undefined reference to
`lt_dlerror'
collect2: ld returned 1 exit status
Paulo
More information about the Kde-buildsystem
mailing list