summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.freebsd
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-10-30 04:54:06 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-10-30 04:54:06 +0000
commit4283089d07dc38ba35235a7b5ce72465968c896b (patch)
treea988d9ac70214331f6645865c726ce1d2dc4a11a /src/makefiles/Makefile.freebsd
parentc6338530f692b39be18346e3681b752592359449 (diff)
downloadpostgresql-4283089d07dc38ba35235a7b5ce72465968c896b.tar.gz
Okay, this shoudl provide a fix for the freebsd problem...
Added a ELF_SYS variable and check to configure.in...
Diffstat (limited to 'src/makefiles/Makefile.freebsd')
-rw-r--r--src/makefiles/Makefile.freebsd8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/makefiles/Makefile.freebsd b/src/makefiles/Makefile.freebsd
index 12a463aa03..4a852a4b04 100644
--- a/src/makefiles/Makefile.freebsd
+++ b/src/makefiles/Makefile.freebsd
@@ -5,5 +5,9 @@
@${AR} cq $@.pic `lorder $<.obj | tsort`
${RANLIB} $@.pic
@rm -f $@
-# $(LD) -x -Bshareable -Bforcearchive \
- $(LD) -x -Bshareable -o $@ $@.pic
+ ifdef ELF_SYSTEM
+ $(LD) -x -Bshareable -o $@ $@.pic
+ else
+ $(LD) -x -Bshareable -Bforcearchive -o $@ $@.pic
+ endif
+