1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00

Add check for GNU or not GNU ld, needed to pick the right export_dynamic

flags for Solaris.  The test itself is straight from libtool.
This commit is contained in:
Peter Eisentraut
2000-10-20 23:57:34 +00:00
parent 805e431a38
commit 12e7558c76
6 changed files with 641 additions and 357 deletions

View File

@@ -1,4 +1,8 @@
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.1 2000/10/10 21:22:28 petere Exp $
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.2 2000/10/20 23:57:34 petere Exp $
ifeq ($(with_gnu_ld), yes)
export_dynamic = -Wl,-E
endif
%.so: %.o
$(LD) -G -Bdynamic -o $@ $<