]> granicus.if.org Git - postgis/commitdiff
#3322 get rid of hard-coded lib path
authorRegina Obe <lr@pcorp.us>
Wed, 7 Oct 2015 21:27:38 +0000 (21:27 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 7 Oct 2015 21:27:38 +0000 (21:27 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14217 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/postgis.sql.in

index 3e9407d94520fba52afdce883892c004c80c2a88..46bb4cfe1853a5c5ec117d4da21e74733cc334da 100644 (file)
@@ -1634,13 +1634,13 @@ CREATE OR REPLACE FUNCTION ST_Polygonize (geometry[])
 -- Availability: 2.2
 CREATE OR REPLACE FUNCTION ST_ClusterIntersecting(geometry[])
     RETURNS geometry[]
-    AS '$libdir/postgis-2.2', 'clusterintersecting_garray'
+    AS 'MODULE_PATHNAME',  'clusterintersecting_garray'
     LANGUAGE 'c' IMMUTABLE STRICT;
 
 -- Availability: 2.2
 CREATE OR REPLACE FUNCTION ST_ClusterWithin(geometry[], float8)
     RETURNS geometry[]
-    AS '$libdir/postgis-2.2', 'cluster_within_distance_garray'
+    AS 'MODULE_PATHNAME',  'cluster_within_distance_garray'
     LANGUAGE 'c' IMMUTABLE STRICT;
 
 -- Availability: 1.2.2