aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-09-25 17:49:24 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-09-25 17:49:24 +0200
commit1a4e8f6e5cbebcdb8d99ef44154fe3c9742ef8b7 (patch)
tree28673cb21c27e37f0adb4faa1afda69ae5dd03c3 /erts/configure.in
parent7de78f7d6e6bc647430c0ad96f4356db046aefce (diff)
parentc282f35cf30d87b61baa30cc7b57ed8c858759ef (diff)
downloadotp-1a4e8f6e5cbebcdb8d99ef44154fe3c9742ef8b7.tar.gz
otp-1a4e8f6e5cbebcdb8d99ef44154fe3c9742ef8b7.tar.bz2
otp-1a4e8f6e5cbebcdb8d99ef44154fe3c9742ef8b7.zip
Merge branch 'egil/fix-configure-openbsd/OTP-10395' into maint
* egil/fix-configure-openbsd/OTP-10395: Fix linking of shared libraries on OpenBSD
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 8d70a1b74a..6ad1951a4e 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -3575,6 +3575,11 @@ case $host_os in
DED_LDFLAGS="-m32 $DED_LDFLAGS"
fi
;;
+ openbsd*)
+ DED_LD="$CC"
+ DED_LD_FLAG_RUNTIME_LIBRARY_PATH="$CFLAG_RUNTIME_LIBRARY_PATH"
+ DED_LDFLAGS="-shared"
+ ;;
osf*)
# NOTE! Whitespace after -rpath is important.
DED_LD_FLAG_RUNTIME_LIBRARY_PATH="-rpath "