Permalink
Browse files

Fix linking of shared libraries on OpenBSD

Reported-by: Matthew Dempsky
  • Loading branch information...
1 parent b974565 commit c282f35cf30d87b61baa30cc7b57ed8c858759ef @psyeugenic psyeugenic committed Sep 6, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 erts/configure.in
View
5 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 "

0 comments on commit c282f35

Please sign in to comment.