packages: OpenSceneGraph/OpenSceneGraph-link.patch - link with -ldl
lisu
lisu at pld-linux.org
Thu Apr 21 13:42:30 CEST 2011
Author: lisu Date: Thu Apr 21 11:42:30 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- link with -ldl
---- Files affected:
packages/OpenSceneGraph:
OpenSceneGraph-link.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/OpenSceneGraph/OpenSceneGraph-link.patch
diff -u /dev/null packages/OpenSceneGraph/OpenSceneGraph-link.patch:1.2
--- /dev/null Thu Apr 21 13:42:30 2011
+++ packages/OpenSceneGraph/OpenSceneGraph-link.patch Thu Apr 21 13:42:25 2011
@@ -0,0 +1,21 @@
+--- OpenSceneGraph-2.8.4/CMakeLists.txt~ 2011-04-07 03:58:09.000000000 +0200
++++ OpenSceneGraph-2.8.4/CMakeLists.txt 2011-04-21 13:05:37.905970129 +0200
+@@ -153,6 +153,7 @@
+ FIND_PACKAGE(X11)
+ # Some Unicies need explicit linkage to the Math library or the build fails.
+ FIND_LIBRARY(MATH_LIBRARY m)
++ FIND_LIBRARY(DL_LIBRARY dl)
+ ENDIF(UNIX)
+
+ # Make the headers visible to everything
+--- OpenSceneGraph-2.8.4/src/osg/CMakeLists.txt~ 2010-03-17 18:41:14.000000000 +0100
++++ OpenSceneGraph-2.8.4/src/osg/CMakeLists.txt 2011-04-21 13:06:14.552636208 +0200
+@@ -326,7 +326,7 @@
+ LINK_INTERNAL(${LIB_NAME}
+ OpenThreads
+ )
+-LINK_EXTERNAL(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT} ${MATH_LIBRARY} )
++LINK_EXTERNAL(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT} ${MATH_LIBRARY} ${DL_LIBRARY})
+ LINK_CORELIB_DEFAULT(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT} ${MATH_LIBRARY} )
+
+ INCLUDE(ModuleInstall OPTIONAL)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/OpenSceneGraph/OpenSceneGraph-link.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list