diff options
author | Thomas Gruber <Thomas.Roehl@googlemail.com> | 2019-05-01 01:41:08 +0200 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-05-01 08:41:08 +0900 |
commit | 06ed77bdfa53174e31ca7c8ce25c660aa5c03224 (patch) | |
tree | 4172b4a212903238c9f6d4cd9e51c5a51d976d3c /var | |
parent | 7b715564d0fc553a4b65530445561b17d2e3dce8 (diff) | |
download | spack-06ed77bdfa53174e31ca7c8ce25c660aa5c03224.tar.gz spack-06ed77bdfa53174e31ca7c8ce25c660aa5c03224.tar.bz2 spack-06ed77bdfa53174e31ca7c8ce25c660aa5c03224.tar.xz spack-06ed77bdfa53174e31ca7c8ce25c660aa5c03224.zip |
Lua: Fix unresolved symbols in shared library by linking with libdl.so (#11260)
The current lua package.py does not link with libdl.so, so you get
unresolved symbols while linking with lua. This PR adds libdl to fix
the issue.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/lua/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py index 6d467866fd..3ad1f0fdaf 100644 --- a/var/spack/repos/builtin/packages/lua/package.py +++ b/var/spack/repos/builtin/packages/lua/package.py @@ -58,7 +58,8 @@ class Lua(Package): 'install') static_to_shared_library(join_path(prefix.lib, 'liblua.a'), - arguments=['-lm'], version=self.version, + arguments=['-lm', '-ldl'], + version=self.version, compat_version=self.version.up_to(2)) # compatibility with ax_lua.m4 from autoconf-archive |