summaryrefslogtreecommitdiff
path: root/lib/make/make.config.defn.in
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2010-03-26 18:05:02 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2010-03-26 18:05:02 +0000
commit95c102d7a553097a64281656306b97df2d89f300 (patch)
tree52292c59a9a77d986c5d0e99b5fcec9695c7ee4a /lib/make/make.config.defn.in
parent90e3aff0410eb0b46ecfbbb18e3c83f241508f20 (diff)
Introduce new configuration variables LIBDIR_PREFIX, RUNDIR_PREFIX,
and LIBLINK_PREFIX. Expand them in makefiles. LIBDIR_PREFIX and LIBLINK_PREFIX existed before, but were not explicit configuration variables. RUNDIR_PREFIX is used to remember the path to a shared library in an executable. Keep the default value for LIBDIR_PREFIX at "-L" and LIBLINK_PREFIX at "-l". Set the default for RUNDIR_PREFIX to "-Wl,-rpath,". Use these variables when building the executable. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4599 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.config.defn.in')
-rw-r--r--lib/make/make.config.defn.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/make/make.config.defn.in b/lib/make/make.config.defn.in
index a00629e3..3e5f9314 100644
--- a/lib/make/make.config.defn.in
+++ b/lib/make/make.config.defn.in
@@ -56,6 +56,9 @@ export LDFLAGS = @LDFLAGS@
export ARFLAGS = @ARFLAGS@
export RANLIBFLAGS = @RANLIBFLAGS@
+export LIBDIR_PREFIX = @LIBDIR_PREFIX@
+export RUNDIR_PREFIX = @RUNDIR_PREFIX@
+export LIBLINK_PREFIX = @LIBLINK_PREFIX@
# Debug flags
export C_DEBUG_FLAGS = @C_DEBUG_FLAGS@