summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/num/num-1.4-r1.ebuild')
-rw-r--r--dev-ml/num/num-1.4-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-ml/num/num-1.4-r1.ebuild b/dev-ml/num/num-1.4-r1.ebuild
index 7068b3f2d927..cf5b56b7a6d8 100644
--- a/dev-ml/num/num-1.4-r1.ebuild
+++ b/dev-ml/num/num-1.4-r1.ebuild
@@ -18,7 +18,7 @@ IUSE="+ocamlopt"
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
src_compile() {
- emake CFLAGS="${CFLAGS}"
+ emake CFLAGS="${CFLAGS}" NATDYNLINK="$(usex ocamlopt true false)"
}
src_test() {
@@ -28,5 +28,5 @@ src_test() {
src_install() {
findlib_src_preinst
- OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"
+ OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}" NATDYNLINK="$(usex ocamlopt true false)"
}