diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-09-25 17:49:24 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-09-25 17:49:24 +0200 |
commit | 1a4e8f6e5cbebcdb8d99ef44154fe3c9742ef8b7 (patch) | |
tree | 28673cb21c27e37f0adb4faa1afda69ae5dd03c3 /erts | |
parent | 7de78f7d6e6bc647430c0ad96f4356db046aefce (diff) | |
parent | c282f35cf30d87b61baa30cc7b57ed8c858759ef (diff) | |
download | otp-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')
-rw-r--r-- | erts/configure.in | 5 |
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 " |