summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:15:13 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:15:13 +0000
commit04a02e925121adafeb34422cfae838406747a4be (patch)
treedf40bc8d9d8c233196145b5893a18633cc646ed2
parent8c5d435e27c1a74368f3be3af12fd6bb1e257b91 (diff)
downloadocaml-dynamic_loading.tar.gz
Support IRIXdynamic_loading
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/dynamic_loading@3675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 0410eedaef..0012cf9d74 100755
--- a/configure
+++ b/configure
@@ -398,6 +398,14 @@ if test $withsharedlibs = "yes"; then
mksharedlib="/usr/ccs/bin/ld -G -o"
shared_libraries_supported=true;;
esac;;
+ mips-sgi-irix[56]*)
+ case "$bytecc" in
+ cc*) sharedcccompopts="";;
+ gcc*) sharedcccompopts="-fPIC";;
+ esac
+ mksharedlib="ld -shared -rdata_shared -o"
+ byteccrpath="-Wl,-rpath,"
+ shared_libraries_supported=true;;
esac
fi