Skip to content

Commit e30a864

Browse files
committed
hstore_plperl: Move port-specific parts to later in the makefile
PORTNAME isn't set until the global makefiles have been included.
1 parent 010aa42 commit e30a864

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

contrib/hstore_plperl/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ OBJS = hstore_plperl.o
55

66
PG_CPPFLAGS = -I$(top_srcdir)/src/pl/plperl -I$(top_srcdir)/contrib/hstore -I$(perl_archlibexp)/CORE
77

8-
# see plperl
9-
ifeq ($(PORTNAME), win32)
10-
PG_CPPFLAGS += -DPLPERL_HAVE_UID_GID -Wno-comment
11-
endif
12-
138
EXTENSION = hstore_plperl hstore_plperlu
149
DATA = hstore_plperl--1.0.sql hstore_plperlu--1.0.sql
1510

@@ -26,3 +21,8 @@ top_builddir = ../..
2621
include $(top_builddir)/src/Makefile.global
2722
include $(top_srcdir)/contrib/contrib-global.mk
2823
endif
24+
25+
# see plperl
26+
ifeq ($(PORTNAME), win32)
27+
override CPPFLAGS += -DPLPERL_HAVE_UID_GID -Wno-comment
28+
endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy