Skip to content

Commit 52052f3

Browse files
author
Bryan Henderson
committed
Use gcc to make Linux ELF shared library, instead of ld.
1 parent c7375c7 commit 52052f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/libpq/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.26 1997/01/10 18:55:24 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.27 1997/01/20 00:51:38 bryanh Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -60,8 +60,8 @@ fe-lobj.o: ../backend/fmgr.h
6060
../backend/lib/dllist.o:
6161
$(MAKE) -C ../backend/lib dllist.o
6262

63-
$(shlib): $(OBJS)
64-
$(LD) $(LDFLAGS) -shared $(OBJS) -o $(shlib)
63+
libpq.so.1: $(OBJS)
64+
gcc $(LDFLAGS) -shared -o $@ $(OBJS)
6565

6666
c.h: ../include/c.h
6767
rm -f c.h

0 commit comments

Comments
 (0)