Revision: 7851
http://playerstage.svn.sourceforge.net/playerstage/?rev=7851&view=rev
Author: gbiggs
Date: 2009-06-14 23:28:16 +0000 (Sun, 14 Jun 2009)
Log Message:
-----------
Applied patch #2805923
Modified Paths:
--------------
code/player/trunk/server/drivers/vectormap/CMakeLists.txt
Modified: code/player/trunk/server/drivers/vectormap/CMakeLists.txt
===================================================================
--- code/player/trunk/server/drivers/vectormap/CMakeLists.txt 2009-06-14
23:23:57 UTC (rev 7850)
+++ code/player/trunk/server/drivers/vectormap/CMakeLists.txt 2009-06-14
23:28:16 UTC (rev 7851)
@@ -5,9 +5,14 @@
ENDIF (HAVE_STL)
PLAYERDRIVER_REQUIRE_PKG (postgis build_postgis libpqxx
postgis_includeDirs postgis_libDirs postgis_linkLibs postgis_linkFlags
postgis_cFlags)
+IF (PLAYER_OS_SOLARIS)
+ SET (pqLinkFlag "-lpq")
+ELSE (PLAYER_OS_SOLARIS)
+ SET (pqLinkFlag)
+ENDIF (PLAYER_OS_SOLARIS)
PLAYERDRIVER_ADD_DRIVER (postgis build_postgis
INCLUDEDIRS "${postgis_includeDirs}" LIBDIRS "${postgis_libDirs}" LINKLIBS
- "${postgis_linkLibs}" LINKFLAGS "${postgis_linkFlags}"
+ "${postgis_linkLibs}" LINKFLAGS "${postgis_linkFlags} ${pqLinkFlag}"
CFLAGS "${postgis_cFlags}" SOURCES postgis.cc dbconn.cc)
PLAYERDRIVER_OPTION (vec2map build_vec2map ON)
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