summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lua/package.py3
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