File: hstore-mklibdir

package info (click to toggle)
postgresql-pllua 1%3A2.0.12-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,260 kB
  • sloc: ansic: 14,420; sql: 2,193; makefile: 170; sh: 59; javascript: 38
file content (14 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pg_buildext's use of VPATH interferes with the setting in hstore/Makefile,
hard-code the value here.

--- a/hstore/Makefile
+++ b/hstore/Makefile
@@ -49,7 +49,7 @@ VPATH := $(dir $(firstword $(MAKEFILE_LI
 endif
 endif
 
-mklibdir := $(if $(VPATH),$(VPATH)/../tools,../tools)
+mklibdir := $(CURDIR)/../tools
 include $(mklibdir)/numeric.mk
 
 PGXS := $(shell $(PG_CONFIG) --pgxs)