Browse Source

Add paths required to build on SUSE Linux

Peter Nixon 20 years ago
parent
commit
6cef29c01e
1 changed files with 3 additions and 2 deletions
  1. 3 2
      modules/db_postgres/Makefile

+ 3 - 2
modules/db_postgres/Makefile

@@ -8,7 +8,8 @@ NAME=postgres.so
 
 
 # libpq-fe.h locations
 # libpq-fe.h locations
 DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/pgsql/include  \
 DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/pgsql/include  \
-	-I/usr/include/postgresql -I/usr/include/postgresql/8.0
-LIBS=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql -lpq
+	-I/usr/include/postgresql -I/usr/include/postgresql/8.0 \
+	-I/usr/include/pgsql/
+LIBS=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql -L /usr/lib -lpq
 
 
 include ../../Makefile.modules
 include ../../Makefile.modules