Skip to content

Commit fdcf8b6

Browse files
author
Bryan Henderson
committed
Set LD = gcc for Linux so shared libpq build works.
1 parent bc18c38 commit fdcf8b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Makefile.global

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.94 1997/01/14 22:58:10 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.95 1997/01/18 07:56:52 bryanh Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -580,6 +580,10 @@ endif
580580
MK_NO_LORDER= true
581581

582582
CC= gcc
583+
# gcc mainly just calls LD, but it also uses some default options that are
584+
# part of the gcc configuration, like search paths, and the user probably
585+
# wants those.
586+
LD= gcc
583587

584588
# use the regex library
585589
USE_REGEX= 1

0 commit comments

Comments
 (0)