view lua/luadyncall/rockspec/luadyncall-0.1-1.rockspec @ 14:7752fcb107e7

- erlang binding build fix, linker arg was at wrong place
author cslag
date Sat, 26 Mar 2016 16:09:04 +0100
parents 0cfcc391201f
children
line wrap: on
line source

package = "luadyncall"
version = "0.1-1"
source = {
  url = "http://..."
}
description = {
  summary = "Lua DynCall Bindings variant 2.",
  detailed = [[
    Foreign Function Interface - variant 2 (built-in rock)
  ]],
  homepage = "http://dyncall.org",
  license = "ISC"
}
dependencies = {
  "lua >= 5.1"
}
external_dependencies = {
  DYNCALL = {
    header = "dyncall.h"
  }
}
build = {
  type = "builtin",
  modules = {
    ldynload = {
      sources = "src/ldynload.c",
      libraries = {"dynload_s"},
      libdirs = {"$(DYNCALL_LIBDIR)"},
      incdirs = {"$(DYNCALL_INCDIR)"}
    },
    ldyncall = {
      sources = "src/ldyncall.c",
      libraries = {"dyncall_s"},
      libdirs = {"$(DYNCALL_LIBDIR)"},
      incdirs = {"$(DYNCALL_INCDIR)"}
    },
    larray = {
      sources = "src/larray.c",
      incdirs = {"$(DYNCALL_INCDIR)"}
    },
    dynload = "src/dynload.lua",
    dyncall = "src/dyncall.lua",
    dynport = "src/dynport.lua",
    smartptr= "src/smartptr.lua",
    path    = "src/path.lua",
    array   = "src/array.c",
    intutils= "src/intutils.lua"
  }
}