Skip to content

Commit

Permalink
Restore Windows compatibility in Makefile (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
crunchyjoea authored Dec 12, 2022
1 parent 7f3a39d commit 0194125
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ REGRESS = set_user

LDFLAGS_SL += $(filter -lm, $(LIBS))

ifdef NO_PGXS
subdir = contrib/set_user
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
else
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
endif

.PHONY: install-headers uninstall-headers

Expand Down

0 comments on commit 0194125

Please sign in to comment.