]> granicus.if.org Git - postgis/commitdiff
Updated postgis library path to be referenced with /..
authorSandro Santilli <strk@keybit.net>
Thu, 20 Nov 2003 15:54:02 +0000 (15:54 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 20 Nov 2003 15:54:02 +0000 (15:54 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@377 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index 6012c12e326295469359eb70cdbe29a3792c4a81..8a9a2391ef823c625356cd41cd3aeb5d25429c56 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,11 +36,11 @@ subdir=contrib/postgis
 ifeq (${PGSQL_SRC},) 
        top_builddir = ../..
        include $(top_builddir)/src/Makefile.global
-       LPATH := $$libdir
+       #LPATH := $$libdir
 else
        top_builddir = ${PGSQL_SRC}
        include $(top_builddir)/src/Makefile.global
-       LPATH := ${PWD}
+       #LPATH := ${PWD}
 endif
 
 #---------------------------------------------------------------
@@ -74,7 +74,7 @@ endif
 NAME=postgis
 SO_MAJOR_VERSION=0
 SO_MINOR_VERSION=8
-MODULE_FILENAME = $(LPATH)/$(shlib)
+MODULE_FILENAME = $$libdir/../$(shlib)
 #---------------------------------------------------------------
 
 override CFLAGS += -g -fexceptions