openbsd-ports/lang/erlang/patches/patch-erts_configure_in
2012-09-10 20:35:19 +00:00

16 lines
487 B
Plaintext

$OpenBSD: patch-erts_configure_in,v 1.7 2012/09/10 20:35:19 jasper Exp $
--- erts/configure.in.orig Mon Sep 3 11:58:05 2012
+++ erts/configure.in Mon Sep 10 08:55:28 2012
@@ -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 "