Build Lua on Darwin
This commit is contained in:
parent
9f2dbc9df4
commit
23c5a1e6e9
1 changed files with 5 additions and 1 deletions
|
@ -22,9 +22,13 @@ class Lua(Package):
|
|||
depends_on('readline')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
if spec.satisfies("=darwin-i686") or spec.satisfies("=darwin-x86_64"):
|
||||
target = 'macosx'
|
||||
else:
|
||||
target = 'linux'
|
||||
make('INSTALL_TOP=%s' % prefix,
|
||||
'MYLDFLAGS=-L%s -lncurses' % spec['ncurses'].prefix.lib,
|
||||
'linux')
|
||||
target)
|
||||
make('INSTALL_TOP=%s' % prefix,
|
||||
'MYLDFLAGS=-L%s -lncurses' % spec['ncurses'].prefix.lib,
|
||||
'install')
|
||||
|
|
Loading…
Reference in a new issue