From 1b00ba8ae3ced6de6bcf664b0c671524cdc33fbc Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 7 Jun 2004 17:26:03 +0000 Subject: [PATCH] Default MODULE_FILENAME uses $libdir unless LPATH is set in the environment git-svn-id: http://svn.osgeo.org/postgis/trunk@605 b70326c6-7e19-0410-871a-916f4a2858ee --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 614b90fd9..bd88f45ae 100644 --- a/Makefile +++ b/Makefile @@ -33,14 +33,18 @@ subdir=contrib/postgis # To use a non-standard location set the PGSQL_SRC environment # variable to the appropriate location. # +ifeq (${LPATH},) + LPATH := \$$libdir +endif + 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 #--------------------------------------------------------------- -- 2.40.0