1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Fix linker options for ODBC driver. See comment in

src/interfaces/odbc/GNUmakefile.
This commit is contained in:
Peter Eisentraut
2000-12-16 18:14:25 +00:00
parent 2a81896a2a
commit 9cf0a82fc3
9 changed files with 16 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ endif
ifeq ($(DLSUFFIX), .so)
CFLAGS_SL = -fpic
export_dynamic = -export-dynamic
shlib_symbolic = -Bsymbolic
else
CFLAGS_SL =
endif

View File

@@ -3,6 +3,7 @@ AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -export-dynamic
rpath = -R$(libdir)
shlib_symbolic = -Bsymbolic
endif
DLSUFFIX = .so

View File

@@ -1,6 +1,7 @@
MK_NO_LORDER= true
AROPT = crs
rpath = -Wl,-rpath,$(libdir)
shlib_symbolic = -Wl,-B,symbolic
DLSUFFIX = .so
# PIC is default

View File

@@ -1,6 +1,7 @@
AROPT = crs
export_dynamic = -export-dynamic
rpath = -Wl,-rpath,$(libdir)
shlib_symbolic = -Wl,-Bsymbolic
DLSUFFIX = .so
CFLAGS_SL = -fpic

View File

@@ -3,6 +3,7 @@ AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
rpath = -Wl,-R$(libdir)
shlib_symbolic = -Wl,-Bsymbolic
endif
DLSUFFIX = .so

View File

@@ -3,6 +3,7 @@ AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
rpath = -R$(libdir)
shlib_symbolic = -Bsymbolic
endif
DLSUFFIX = .so

View File

@@ -1,4 +1,4 @@
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.5 2000/11/04 16:35:55 petere Exp $
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.6 2000/12/16 18:14:25 petere Exp $
AROPT = crs
@@ -8,7 +8,7 @@ rpath = -Wl,-rpath,$(libdir)
else
rpath = -Wl,-R$(libdir)
endif
shlib_symbolic = -Wl,-Bsymbolic
DLSUFFIX = .so
ifeq ($(GCC), yes)

View File

@@ -3,6 +3,8 @@ export_dynamic = -Wl,-Bexport
ifeq ($(ld_R_works), yes)
rpath = -Wl,-R$(libdir)
endif
shlib_symbolic = -Wl,-Bsymbolic
DLSUFFIX = .so
ifeq ($(GCC), yes)
CFLAGS_SL = -fpic