Skip to content

Commit

Permalink
Define HAVE_POSTGRES = 1 so ifdeffed pg related stuff can build
Browse files Browse the repository at this point in the history
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 82d8b14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion settings.pro
Expand Up @@ -63,7 +63,7 @@ QMAKE_LFLAGS_SHLIB *= --no-undefined
QT =

QGSSVNVERSION=version0.8pre2
DEFINES += HAVE_POSTGRESQL=0
DEFINES += HAVE_POSTGRESQL=1
#################################################################
##
## Destination dir
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 82d8b14

Please sign in to comment.