Skip to content
Browse files

Force x86_64 in darwin, and keep the .so extension that Erlang unders…

…tands
  • Loading branch information...
1 parent 0043bb6 commit 8aff9ba1178ed823cb519666b296e49521d4720c @squaremo squaremo committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 configure.ac
View
4 configure.ac
@@ -155,9 +155,9 @@ dnl ------------------------------------------------------------------
case "${host_os}" in
*darwin*)
- DARWIN_CXXFLAGS="-dynamiclib -Wl,-undefined -Wl,dynamic_lookup"
+ DARWIN_CXXFLAGS="-dynamiclib -m64 -Wl,-undefined -Wl,dynamic_lookup"
CXXFLAGS="-D_DARWIN_C_SOURCE $DARWIN_CXXFLAGS $CXXFLAGS"
- AC_SUBST([LIB_EXT], [.dylib])
+ AC_SUBST([LIB_EXT], [.so])
;;
*)
AC_SUBST([LIB_EXT], [.so]);;

0 comments on commit 8aff9ba

Please sign in to comment.
Something went wrong with that request. Please try again.