Current section

Files

Jump to
ex_dtls bundlex.exs
Raw

bundlex.exs

defmodule ExDTLS.BundlexProject do
use Bundlex.Project
def project do
[
natives: natives()
]
end
defp natives() do
[
native: [
sources: ["native.c", "dtls.c", "dyn_buff.c"],
deps: [unifex: :unifex],
os_deps: [openssl: :pkg_config],
libs: ["pthread"],
interface: [:nif],
# compiler_flags: ["-DEXDTLS_DEBUG"],
preprocessor: Unifex
]
]
end
end