mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-01 19:42:31 +00:00
Makefile: rename variable MACHINE to UNAME_M
This commit is contained in:
parent
ae603d9631
commit
2844cc5131
4
Makefile
4
Makefile
@ -29,8 +29,8 @@ INCDIR = $(DESTDIR)$(PREFIX)/include
|
||||
|
||||
LIBDIR = $(DESTDIR)$(PREFIX)/lib
|
||||
# on x86_64, we might have /usr/lib64 directory instead of /usr/lib
|
||||
MACHINE := $(shell uname -m)
|
||||
ifeq ($(MACHINE), x86_64)
|
||||
UNAME_M := $(shell uname -m)
|
||||
ifeq ($(UNAME_M), x86_64)
|
||||
ifeq (,$(wildcard $(LIBDIR)))
|
||||
LIBDIR = $(DESTDIR)$(PREFIX)/lib64
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user