[jhbuild] [cmake] Pass libdir as well as LIB_INSTALL_DIR during autogen.



commit b9daaa0ea3724c6486cc136f1cd53b25171b23d6
Author: Craig Keogh <cskeogh adam com au>
Date:   Sat Jun 12 09:59:05 2010 +0930

    [cmake] Pass libdir as well as LIB_INSTALL_DIR during autogen.

 jhbuild/modtypes/cmake.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/modtypes/cmake.py b/jhbuild/modtypes/cmake.py
index 31a286b..5be03d8 100644
--- a/jhbuild/modtypes/cmake.py
+++ b/jhbuild/modtypes/cmake.py
@@ -68,6 +68,7 @@ class CMakeModule(Package, DownloadableModule):
         prefix = os.path.expanduser(buildscript.config.prefix)
         cmd = ['cmake', '-DCMAKE_INSTALL_PREFIX=%s' % prefix,
                '-DLIB_INSTALL_DIR=%s' % buildscript.config.libdir,
+               '-Dlibdir=%s' % buildscript.config.libdir,
                srcdir]
         buildscript.execute(cmd, cwd = builddir, extra_env = self.extra_env)
     do_configure.depends = [PHASE_CHECKOUT]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]