On Linux, set the default executable suffix to 'uname -m'
authorStijn Buys <ingar@telenet.be>
Tue, 25 Jun 2013 21:40:55 +0000 (23:40 +0200)
committerStijn Buys <ingar@telenet.be>
Tue, 25 Jun 2013 21:40:55 +0000 (23:40 +0200)
Makefile

index b417433..689a61d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -172,7 +172,7 @@ ifeq ($(OS),Linux)
        CFLAGS_COMMON += -fPIC
        LDFLAGS_DLL = -fPIC -ldl
        LIBS_COMMON = -lpthread
-       EXE ?= x86
+       EXE ?= $(shell uname -m)
        A = a
        DLL = so
        MWINDOWS =