summary refs log tree commit diff
path: root/port/wcwidth/wcfix.in
diff options
context:
space:
mode:
Diffstat (limited to 'port/wcwidth/wcfix.in')
-rw-r--r--port/wcwidth/wcfix.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/port/wcwidth/wcfix.in b/port/wcwidth/wcfix.in
new file mode 100644
index 00000000..832c83d6
--- /dev/null
+++ b/port/wcwidth/wcfix.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -eu
+
+export DYLD_FORCE_FLAT_NAMESPACE=1
+export DYLD_INSERT_LIBRARIES=%%PREFIX%%/lib/libwcwidth.dylib
+
+exec "$@"