summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
diff options
context:
space:
mode:
authorPeter Eisentraut2001-09-22 22:54:33 +0000
committerPeter Eisentraut2001-09-22 22:54:33 +0000
commit364a7ebe26a20625f7c0b27a59ebbbdb8378587f (patch)
tree954b9ab0a58c727478022e277ca4d0a006b4c153 /src/Makefile.shlib
parent39ceaa19f03faa11fbcab6bc050e3b494258afe0 (diff)
Provide some initial support for building the ODBC driver for
an already installed iODBC or unixODBC driver manager. In particular, use the include files provided by the driver manager over our own, and use the odbcinst library of the driver manager rather than gpps.c. Migrate portability sections common to several files into psqlodbc.h.
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r--src/Makefile.shlib3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 0635049d06..4b89aa4927 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.53 2001/09/11 23:20:41 petere Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.54 2001/09/22 22:54:32 petere Exp $
#
#-------------------------------------------------------------------------
@@ -263,6 +263,7 @@ ifeq ($(PORTNAME), beos)
SHLIB_LINK += -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86
endif
+SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
ifeq ($(enable_rpath), yes)
SHLIB_LINK += $(rpath)
endif