summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorChristian Rößler2013-11-29 14:53:15 +0100
committerChristian Rößler2013-11-29 14:53:15 +0100
commit31784b455fa1659b09229be8089305f261a99049 (patch)
tree0df0ab21f8562d1b22b7ae16a252e650295d8861 /remote
parent[doc] setup_localization: Ann. for possible unclarity (diff)
downloadtm-scripts-31784b455fa1659b09229be8089305f261a99049.tar.gz
tm-scripts-31784b455fa1659b09229be8089305f261a99049.tar.xz
tm-scripts-31784b455fa1659b09229be8089305f261a99049.zip
[systemd] Env variables added for kmod compiling/linking when no kmod in system.
Variable setting unelegant, should be bettered by using mltk-intern vars for determining OS/system.
Diffstat (limited to 'remote')
-rw-r--r--remote/modules/systemd/systemd.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build
index 667157aa..c9d23794 100644
--- a/remote/modules/systemd/systemd.build
+++ b/remote/modules/systemd/systemd.build
@@ -27,10 +27,12 @@ build () {
OLDLDFLAGS="$LDFLAGS"
OLDCPPFLAGS="$CPPFLAGS"
OLDPKG_CONFIG_PATH="$PKG_CONFIG_PATH"
+ OLDLD_LIBRARY_PATH="$LD_LIBRARY_PATH"
export LDFLAGS="$LDFLAGS -L${MODULE_BUILD_DIR}/usr/lib"
export CPPFLAGS="-I${MODULE_BUILD_DIR}/usr/include"
- export PKG_CONFIG_PATH="${MODULE_BUILD_DIR}/usr/lib/pkgconfig"
+ export PKG_CONFIG_PATH="${MODULE_BUILD_DIR}/usr/lib64/pkgconfig:${MODULE_BUILD_DIR}/usr/lib/pkgconfig"
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${MODULE_BUILD_DIR}/usr/lib:${MODULE_BUILD_DIR}/usr/lib64"
./configure --disable-manpages --enable-split-usr --sysconfdir="/etc" --enable-gtk-doc-html=no --disable-nls \
--disable-microhttpd --disable-bootchart --disable-quotacheck --disable-hostnamed --disable-timedated \
@@ -47,6 +49,7 @@ build () {
export LDFLAGS="$OLDLDFLAGS"
export CPPFLAGS="$OLDCPPFLAGS"
export PKG_CONFIG_PATH="$OLDPKG_CONFIG_PATH"
+ LD_LIBRARY_PATH="$OLDLD_LIBRARY_PATH"
# Delete unneeded services
pinfo "Deleting unneeded services"