Permalink
Browse files

Merge branch 'egil/fix-configure-openbsd/OTP-10395' into maint

* egil/fix-configure-openbsd/OTP-10395:
  Fix linking of shared libraries on OpenBSD
  • Loading branch information...
2 parents 7de78f7 + c282f35 commit 1a4e8f6e5cbebcdb8d99ef44154fe3c9742ef8b7 @psyeugenic psyeugenic committed Sep 25, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 erts/configure.in
View
@@ -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 "

0 comments on commit 1a4e8f6

Please sign in to comment.