Revision: 7830
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7830&view=rev
Author:   gbiggs
Date:     2009-06-10 00:15:16 +0000 (Wed, 10 Jun 2009)

Log Message:
-----------
Link player executable to libplayerdrivers' extra linked libs on Solaris

Modified Paths:
--------------
    code/player/trunk/server/CMakeLists.txt

Modified: code/player/trunk/server/CMakeLists.txt
===================================================================
--- code/player/trunk/server/CMakeLists.txt     2009-06-10 00:06:24 UTC (rev 
7829)
+++ code/player/trunk/server/CMakeLists.txt     2009-06-10 00:15:16 UTC (rev 
7830)
@@ -43,6 +43,17 @@
 ENDIF (HAVE_PLAYERSD)
 IF (PLAYER_OS_SOLARIS)
     TARGET_LINK_LIBRARIES (player rt)
+    # Need to link with libs that libplayerdrivers linked to
+    IF (PLAYER_DRIVERSLIB_LIBDIRS)
+        FILTER_EMPTY (driverLinkDirs "${PLAYER_DRIVERSLIB_LIBDIRS}")
+        FILTER_DUPLICATES (driverLinkDirs "${driverLinkDirs}")
+        LINK_DIRECTORIES (${driverLinkDirs})
+    ENDIF (PLAYER_DRIVERSLIB_LIBDIRS)
+    IF (PLAYER_DRIVERSLIB_LINKLIBS)
+        FILTER_EMPTY (driverLinkLibs "${PLAYER_DRIVERSLIB_LINKLIBS}")
+        FILTER_DUPLICATES (driverLinkLibs "${driverLinkLibs}")
+        TARGET_LINK_LIBRARIES (player ${driverLinkLibs})
+    ENDIF (PLAYER_DRIVERSLIB_LINKLIBS)
 ENDIF (PLAYER_OS_SOLARIS)
 STRING (REGEX REPLACE "^[ ]+" "" PLAYER_DRIVERSLIB_LINKFLAGS 
"${PLAYER_DRIVERSLIB_LINKFLAGS}")
 STRING (REGEX REPLACE "[ ]+$" "" PLAYER_DRIVERSLIB_LINKFLAGS 
"${PLAYER_DRIVERSLIB_LINKFLAGS}")


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to