diff options
| author | Bruce Momjian <bruce@momjian.us> | 2002-04-05 12:01:59 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2002-04-05 12:01:59 +0000 |
| commit | 1f9010cc8d4fa0445e75b05d512dc62fa1ce7d2d (patch) | |
| tree | 7e30cfa897e7ef82f6d242c2b7019d9ce246c3cb /src/makefiles/Makefile.unixware | |
| parent | 80f46fab634f8a307584a6291f7401e6f7e3494d (diff) | |
| download | postgresql-1f9010cc8d4fa0445e75b05d512dc62fa1ce7d2d.tar.gz | |
> > This patch corrects the use of rpath and export options when compiling
> > on postgres on Unixware with GCC built with gnu-as and gnu-ld.
Remove leading spaces in conditional tests in patch and Makefile.aix.
Nicolas Bazin
Diffstat (limited to 'src/makefiles/Makefile.unixware')
| -rw-r--r-- | src/makefiles/Makefile.unixware | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/makefiles/Makefile.unixware b/src/makefiles/Makefile.unixware index 92888e1806..5722c46a17 100644 --- a/src/makefiles/Makefile.unixware +++ b/src/makefiles/Makefile.unixware @@ -1,7 +1,16 @@ AROPT = crs -export_dynamic = -Wl,-Bexport +ifeq ($(with_gnu_ld), yes) + export_dynamic = -Wl,-E +else + export_dynamic = -Wl,-Bexport +endif + ifeq ($(ld_R_works), yes) -rpath = -Wl,-R$(libdir) +ifeq ($(with_gnu_ld), yes) + rpath = -Wl,-rpath,$(libdir) +else + rpath = -Wl,-R$(libdir) +endif endif shlib_symbolic = -Wl,-Bsymbolic |
