mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

ocaml:dynlink (619B)


      1 {%- set pkg_version="5.4.0" -%}
      2 {%- set pkg_source="tar.xz" -%}
      3 {% extends "autotools" %}
      4 {%- do import_functions.update(["build_env_dynamic"]) %}
      5 {% do setitem(env_template, "OCAMLPATH", "@ENVROOT@/library.ocaml") %}
      6 {%- block configure %}
      7 build_env_dynamic
      8 autotools_config --enable-native-compiler --disable-native-toplevel --enable-installing-bytecode-programs --libdir="$prefix/library.ocaml"
      9  
     10 {% endblock configure %}
     11 {% block genlinks_begin %}
     12 	x["./command/ocamlopt"]=1
     13 {% endblock %}
     14 {% block genlinks_rules %}
     15 $2 == "library.ocaml" { link($0); next }
     16 $2 == ".env-template" { link($0); next }
     17 {% endblock -%}