mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Use gcc to make Linux ELF shared library, instead of ld.
This commit is contained in:
@@ -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
|
|||||||
../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
|
||||||
|
|||||||
Reference in New Issue
Block a user