Fix linker options for ODBC driver. See comment in
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 16 Dec 2000 18:14:25 +0000 (18:14 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 16 Dec 2000 18:14:25 +0000 (18:14 +0000)
src/interfaces/odbc/GNUmakefile.

GNUmakefile

index 85252ce8d320da9586d71f7e71b69324ea13f5bd..a4874bcb7225f37c34c171452df33b72c6305d97 100644 (file)
@@ -2,7 +2,7 @@
 #
 # GNUMakefile for psqlodbc (Postgres ODBC driver)
 #
-# $Header: /home/heikki/psqlodbc-cvs-copy/psqlodbc/Attic/GNUmakefile,v 1.7 2000/10/28 15:10:36 petere Exp $
+# $Header: /home/heikki/psqlodbc-cvs-copy/psqlodbc/Attic/GNUmakefile,v 1.8 2000/12/16 18:14:25 petere Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -30,6 +30,11 @@ all: all-lib
 # Shared library stuff
 include $(top_srcdir)/src/Makefile.shlib
 
+# Symbols must be resolved to the version in the shared library because
+# the driver manager (e.g., iodbc) provides some symbols with the same
+# names and we don't want those.  (This issue is probably ELF specific.)
+LINK.shared += $(shlib_symbolic)
+
 odbc_headers = isql.h isqlext.h iodbc.h
 odbc_includedir = $(includedir)/iodbc