Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change OSX package name based on erlc 32/64

  • Loading branch information...
commit 4378b1b36d55aec3e5375247cf1d4127e68494b0 1 parent 76cc4fd
@jaredmorrow jaredmorrow authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Makefile
View
3  Makefile
@@ -28,7 +28,8 @@ endif # linux
ifeq ($(OS),Darwin) # OSX
OSNAME = OSX
-ARCH = $(shell uname -m)
+ARCH = $(shell file `which erlc` | grep -c x86_64 2> /dev/null | awk \
+ '{if ($$1 == "0") {print "i386"} else {print "x86_64"}}')
PKGERDIR = osx
BUILDDIR = osxbuild
endif
Please sign in to comment.
Something went wrong with that request. Please try again.