#!/bin/bash
# Wrapper to add -undefined dynamic_lookup for macOS shared lib creation
# This allows _caml_* symbols to remain unresolved until runtime
exec "${0}.real" -ldopt "-Wl,-undefined,dynamic_lookup" "$@"
