Skip to content
Snippets Groups Projects
Commit b3f2f6eb authored by Neil Conway's avatar Neil Conway
Browse files

Use 'override' when appending text to LDFLAGS, so the build doesn't break

if the user has defined LDFLAGS themselves.
parent 3738510c
No related branches found
No related tags found
No related merge requests found
# -*-makefile-*- # -*-makefile-*-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.195 2004/09/18 13:28:54 petere Exp $ # $PostgreSQL: pgsql/src/Makefile.global.in,v 1.196 2004/10/01 02:06:52 neilc Exp $
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets, # All PostgreSQL makefiles include this file and use the variables it sets,
...@@ -361,9 +361,9 @@ ifneq (,$(LIBOBJS)) ...@@ -361,9 +361,9 @@ ifneq (,$(LIBOBJS))
LIBS := -lpgport $(LIBS) LIBS := -lpgport $(LIBS)
ifdef PGXS ifdef PGXS
# where libpgport.a is installed # where libpgport.a is installed
LDFLAGS := -L$(libdir) $(LDFLAGS) override LDFLAGS := -L$(libdir) $(LDFLAGS)
else else
LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS) override LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
endif endif
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment