Browse Source

- exec compiles now on freebsd 5.0 (wrong header)
- lots of Makefile LIBS fixes (use $(LOCALBASE) instead of /usr/local and
added -L/usr/pkg/lib where missing, removed old comments)

Andrei Pelinescu-Onciul 22 years ago
parent
commit
f73f6431d3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      modules/db_postgres/Makefile

+ 2 - 1
modules/db_postgres/Makefile

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