summaryrefslogtreecommitdiff
path: root/src/bin/pg_config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_config/Makefile')
-rw-r--r--src/bin/pg_config/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_config/Makefile b/src/bin/pg_config/Makefile
index 732144dde6..c7e5a02374 100644
--- a/src/bin/pg_config/Makefile
+++ b/src/bin/pg_config/Makefile
@@ -31,9 +31,9 @@ override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\""
override CPPFLAGS += -DVAL_LDFLAGS_SL="\"$(LDFLAGS_SL)\""
override CPPFLAGS += -DVAL_LIBS="\"$(LIBS)\""
-all: submake-libpgport pg_config
+all: pg_config
-pg_config: $(OBJS)
+pg_config: $(OBJS) | submake-libpgport
$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
install: all installdirs