Skip to content

Commit 548ab33

Browse files
committed
Makefile Linux subpath
1 parent 695411c commit 548ab33

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

libs/openFrameworksCompiled/project/makefileCommon/config.shared.mk

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,23 @@ ifndef PLATFORM_LIB_SUBPATH
8484
# determine from the arch
8585
ifeq ($(PLATFORM_OS),Linux)
8686
ifeq ($(PLATFORM_ARCH),x86_64)
87-
PLATFORM_LIB_SUBPATH=linux64
87+
PLATFORM_LIB_SUBPATH=linux/lib/64
8888
else ifeq ($(PLATFORM_ARCH),armv6l)
89-
PLATFORM_LIB_SUBPATH=linuxarmv6l
89+
PLATFORM_LIB_SUBPATH=linux/lib/armv6l
9090
else ifeq ($(PLATFORM_ARCH),armv7l)
91-
PLATFORM_LIB_SUBPATH=linuxarmv7l
91+
PLATFORM_LIB_SUBPATH=linux/lib/armv7l
92+
else ifeq ($(PLATFORM_ARCH),armv8l)
93+
PLATFORM_LIB_SUBPATH=linux/lib/armv8l
94+
else ifeq ($(PLATFORM_ARCH),arm64)
95+
PLATFORM_LIB_SUBPATH=linux/lib/arm64
96+
else ifeq ($(PLATFORM_ARCH),aarch64)
97+
PLATFORM_LIB_SUBPATH=linux/lib/aarch64
98+
else ifeq ($(PLATFORM_ARCH),jetson)
99+
PLATFORM_LIB_SUBPATH=linux/lib/jetson
92100
else ifeq ($(PLATFORM_ARCH),i386)
93101
PLATFORM_LIB_SUBPATH=linux
94102
else ifeq ($(PLATFORM_ARCH),i686)
95103
PLATFORM_LIB_SUBPATH=linux
96-
else ifeq ($(PLATFORM_ARCH),aarch64)
97-
PLATFORM_LIB_SUBPATH=linuxaarch64
98-
else
99104
$(error This makefile does not support your architecture $(PLATFORM_ARCH))
100105
endif
101106
SHARED_LIB_EXTENSION=so

0 commit comments

Comments
 (0)