[SR-Dev] git:janakj/postgres: Add paths required to build on SUSE Linux

Jan Janak jan at iptel.org
Sun Feb 15 18:55:26 CET 2009


Module: sip-router
Branch: janakj/postgres
Commit: 6cef29c01e8335e622b2cc5e2900586571788240
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6cef29c01e8335e622b2cc5e2900586571788240

Author: Peter Nixon <listuser at peternixon.net>
Committer: Peter Nixon <listuser at peternixon.net>
Date:   Wed Aug 31 08:50:14 2005 +0000

Add paths required to build on SUSE Linux

---

 modules/db_postgres/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/db_postgres/Makefile b/modules/db_postgres/Makefile
index 980587f..342e8a3 100644
--- a/modules/db_postgres/Makefile
+++ b/modules/db_postgres/Makefile
@@ -8,7 +8,8 @@ NAME=postgres.so
 
 # libpq-fe.h locations
 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




More information about the sr-dev mailing list