summaryrefslogtreecommitdiff
path: root/databases/ocaml-sqlite3/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ocaml-sqlite3/files/pkg-install.in')
-rw-r--r--databases/ocaml-sqlite3/files/pkg-install.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/ocaml-sqlite3/files/pkg-install.in b/databases/ocaml-sqlite3/files/pkg-install.in
new file mode 100644
index 000000000000..d5f7d26d2f47
--- /dev/null
+++ b/databases/ocaml-sqlite3/files/pkg-install.in
@@ -0,0 +1,11 @@
+#! /bin/sh
+#
+
+if [ "x$2" = "xPOST-INSTALL" ]; then
+ ldconf="%%PREFIX%%/lib/ocaml/ld.conf"
+
+ echo "%%PREFIX%%/lib/ocaml/site-lib/sqlite3" >> ${ldconf}
+fi
+
+exit 0
+