]> granicus.if.org Git - postgresql/blob - src/makefiles/Makefile.freebsd
Oops, don't forget to get rid ofthe -Bforcearchive option altogether...
[postgresql] / src / makefiles / Makefile.freebsd
1 %.so: %.o
2         $(LD) -x -r -o $<.obj $<
3         @echo building shared object $@
4         @rm -f $@.pic
5         @${AR} cq $@.pic `lorder $<.obj | tsort`
6         ${RANLIB} $@.pic
7         @rm -f $@
8 #       $(LD) -x -Bshareable -Bforcearchive \
9         $(LD) -x -Bshareable -o $@ $@.pic