mirror of
https://gitee.com/openharmony/third_party_libbpf
synced 2024-10-07 22:43:33 +00:00
Makefile: Default LIBSUBDIR to lib64 on 64bit architectures.
commita82a66e
("Extend build and add install rules to Makefile") adds special handling for LIBSUBDIR on x86_64. Expand this to all architectures with 64 in name which suggests a 32bit variant exists, and s390x which is 64bit extension of s390. Fixes: #337 Fixes:a82a66e
("Extend build and add install rules to Makefile") Signed-off-by: Michal Suchanek <msuchanek@suse.de>
This commit is contained in:
parent
a603965dad
commit
6eb5e25905
@ -60,7 +60,7 @@ INSTALL = install
|
||||
|
||||
DESTDIR ?=
|
||||
|
||||
ifeq ($(shell uname -m),x86_64)
|
||||
ifeq ($(filter-out %64 %64be %64eb %64le %64el s390x, $(shell uname -m)),)
|
||||
LIBSUBDIR := lib64
|
||||
else
|
||||
LIBSUBDIR := lib
|
||||
|
Loading…
Reference in New Issue
Block a user