Browse Source

lua-yajl: fixed to install the module into the right directory (see note)

Note:

By default the 'yajl.so' gets installed into '$prefix/share/lua/cmod' which
is not the default installation path for lua modules, so we changed it to
the right path which is stored inside of the $lualibdir variable if the
package is flagged 'LUA'!
user/chris/test/early-mdev
Christian Wiese 14 years ago
committed by Christian Wiese
parent
commit
7735c1af79
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      lua/lua-yajl/lua-yajl.conf
  2. +1
    -0
      lua/lua-yajl/lua-yajl.desc

+ 3
- 0
lua/lua-yajl/lua-yajl.conf

@ -12,4 +12,7 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# install the lua module into the right directory
var_append cmakeopt ' ' "-DINSTALL_CMOD=$lualibdir"
makeinstopt="install"

+ 1
- 0
lua/lua-yajl/lua-yajl.desc

@ -22,6 +22,7 @@
[M] The OpenSDE Community <list@opensde.org>
[C] extra/development
[F] LUA
[L] MIT
[S] Stable

Loading…
Cancel
Save