Commit 52052f3a authored by Bryan Henderson's avatar Bryan Henderson

Use gcc to make Linux ELF shared library, instead of ld.

parent c7375c79
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.26 1997/01/10 18:55:24 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.27 1997/01/20 00:51:38 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -60,8 +60,8 @@ fe-lobj.o: ../backend/fmgr.h ...@@ -60,8 +60,8 @@ fe-lobj.o: ../backend/fmgr.h
../backend/lib/dllist.o: ../backend/lib/dllist.o:
$(MAKE) -C ../backend/lib dllist.o $(MAKE) -C ../backend/lib dllist.o
$(shlib): $(OBJS) libpq.so.1: $(OBJS)
$(LD) $(LDFLAGS) -shared $(OBJS) -o $(shlib) gcc $(LDFLAGS) -shared -o $@ $(OBJS)
c.h: ../include/c.h c.h: ../include/c.h
rm -f c.h rm -f c.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment