aboutsummaryrefslogtreecommitdiff
path: root/contrib/hstore_plpython
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-05 15:47:05 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-05 15:47:05 -0500
commit3343ea9e8ea4f552b3f6e5436938f2f0e153b947 (patch)
tree36e40fa86b0344e1c35c357c928c65ce479c6ce2 /contrib/hstore_plpython
parent4aecd22d3c84c44dd230426bcccd286798ac6b65 (diff)
downloadpostgresql-3343ea9e8ea4f552b3f6e5436938f2f0e153b947.tar.gz
postgresql-3343ea9e8ea4f552b3f6e5436938f2f0e153b947.zip
Sort $(wildcard) output where needed for reproducible build output.
The order of inclusion of .o files makes a difference in linker output; not a functional difference, but still a bitwise difference, which annoys some packagers who would like reproducible builds. Report and patch by Christoph Berg
Diffstat (limited to 'contrib/hstore_plpython')
-rw-r--r--contrib/hstore_plpython/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/hstore_plpython/Makefile b/contrib/hstore_plpython/Makefile
index 2de00a2c43c..c4dad6f1119 100644
--- a/contrib/hstore_plpython/Makefile
+++ b/contrib/hstore_plpython/Makefile
@@ -27,10 +27,10 @@ endif
# dependency. This does preclude pgxs builds.
ifeq ($(PORTNAME), aix)
rpathdir = $(pkglibdir):$(python_libdir)
-SHLIB_LINK += ../hstore/libhstore.exp $(python_libspec) $(python_additional_libs) $(wildcard ../../src/pl/plpython/libplpython*.exp)
+SHLIB_LINK += ../hstore/libhstore.exp $(python_libspec) $(python_additional_libs) $(sort $(wildcard ../../src/pl/plpython/libplpython*.exp))
endif
ifeq ($(PORTNAME), win32)
-SHLIB_LINK += ../hstore/libhstore.a $(wildcard ../../src/pl/plpython/libpython*.a) $(wildcard ../../src/pl/plpython/libplpython*.a)
+SHLIB_LINK += ../hstore/libhstore.a $(sort $(wildcard ../../src/pl/plpython/libpython*.a)) $(sort $(wildcard ../../src/pl/plpython/libplpython*.a))
endif
ifeq ($(PORTNAME), cygwin)