summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 1459506..54ecbcf 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -19,7 +19,7 @@
MAJOR=3
MINOR=11
-PERHAPS64 := $(shell uname -m | perl -ne "print /64/ ? '64' : '';")
+PERHAPS64 := $(shell getconf LONG_BIT | perl -ne "print /64/ ? '64' : '';")
LIB = /lib$(PERHAPS64)
ifeq ($(PERHAPS64), "64")
FPIC=