Skip to content
Permalink
Browse files
Define HAVE_POSTGRES = 1 so ifdeffed pg related stuff can build
Add POSTGRESLIBADD with libs to be used for linking to pg stuff

git-svn-id: http://svn.osgeo.org/qgis/trunk@6080 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 12, 2006
1 parent e507f49 commit 82d8b14ef88db6d152dcb4c4c3b8c2b7a6d57b9d
Showing with 3 additions and 1 deletion.
  1. +3 −1 settings.pro
@@ -63,7 +63,7 @@ QMAKE_LFLAGS_SHLIB *= --no-undefined
QT =

QGSSVNVERSION=version0.8pre2
DEFINES += HAVE_POSTGRESQL=0
DEFINES += HAVE_POSTGRESQL=1
#################################################################
##
## Destination dir
@@ -125,6 +125,8 @@ GRASSLIBADD=-lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree \
-lgrass_I -lgrass_gproj -lgrass_gmath -lgrass_gis \
-lgrass_datetime

POSTGRESLIBADD=-lpq

QGISCORELIBADD=-lqgis_core
CONFIG(debug, debug|release){
QGISCORELIBADD=$$member(QGISCORELIBADD, 0)-debug

0 comments on commit 82d8b14

Please sign in to comment.