diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2015-05-03 08:17:04 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2015-05-03 08:17:04 -0400 |
commit | b6b2149e48aa61981ae0199c963d5145a37c258c (patch) | |
tree | 5b5b2a3bcfe9b55b8f0e260ddcda380fa031fc2d /src | |
parent | 1a629c1b161a2b43a2f81241a8f4c5f79e5b8ecf (diff) | |
download | postgresql-b6b2149e48aa61981ae0199c963d5145a37c258c.tar.gz postgresql-b6b2149e48aa61981ae0199c963d5145a37c258c.zip |
Fix python_includespec on Windows at configure time
By converting to using forward slashes at configure time we avoid
having to repeat the logic anywhere that this is needed, such as
in transforms modules for plpython.
Diffstat (limited to 'src')
-rw-r--r-- | src/pl/plpython/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index 4c9d1461473..39cfb654fb2 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -5,14 +5,12 @@ top_builddir = ../../.. include $(top_builddir)/src/Makefile.global -# Windows needs to convert backslashed paths to normal slashes, -# and we have to remove -lpython from the link since we are building our own +# On Windows we have to remove -lpython from the link since we are +# building our own ifeq ($(PORTNAME), win32) -python_includespec := $(subst \,/,$(python_includespec)) override python_libspec = endif - override CPPFLAGS := -I. -I$(srcdir) $(python_includespec) $(CPPFLAGS) rpathdir = $(python_libdir) |