Przeglądaj źródła

- 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 lat temu
rodzic
commit
f73f6431d3
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      modules/db_postgres/Makefile

+ 2 - 1
modules/db_postgres/Makefile

@@ -7,6 +7,7 @@ NAME=postgres.so
 
 
 # libpq-fe.h locations
 # libpq-fe.h locations
 DEFS +=-I/usr/local/pgsql/include
 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
 include ../../Makefile.modules