mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
13 lines
813 B
Text
13 lines
813 B
Text
--- a/build
|
|
+++ b/build
|
|
@@ -126,8 +126,8 @@ cd ..
|
|
|
|
#Using -output-obj for dynamic library (moved here so static build doesn't pick it up!)
|
|
echo ***MAKING DYNAMIC LIBRARY WITH -output-obj
|
|
-echo $ocamlfind ocamlopt $camlpackages -output-obj -o lib${libname}.$dllname $wrapperos $camllibs $camlpackcmxa $camlcmx
|
|
-$ocamlfind ocamlopt $camlpackages -output-obj -o lib${libname}.$dllname $wrapperos $camllibs $camlpackcmxa $camlcmx
|
|
+echo $ocamlfind ocamlopt $camlpackages -output-obj -o lib${libname}.$dllname -runtime-variant _pic $wrapperos $camllibs $camlpackcmxa $camlcmx
|
|
+$ocamlfind ocamlopt $camlpackages -output-obj -o lib${libname}.$dllname -runtime-variant _pic $wrapperos $camllibs $camlpackcmxa $camlcmx
|
|
|
|
#Build an example executable, with dynamic .so
|
|
echo ***BUILD example executable with dynamic .so
|