Skip to content

Commit 344c540

Browse files
committed
makefile subpath
1 parent 548ab33 commit 344c540

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ ifndef PLATFORM_LIB_SUBPATH
8585
ifeq ($(PLATFORM_OS),Linux)
8686
ifeq ($(PLATFORM_ARCH),x86_64)
8787
PLATFORM_LIB_SUBPATH=linux/lib/64
88+
else ifeq ($(PLATFORM_ARCH),64)
89+
PLATFORM_LIB_SUBPATH=linux/lib/64
8890
else ifeq ($(PLATFORM_ARCH),armv6l)
8991
PLATFORM_LIB_SUBPATH=linux/lib/armv6l
9092
else ifeq ($(PLATFORM_ARCH),armv7l)
@@ -99,7 +101,7 @@ ifndef PLATFORM_LIB_SUBPATH
99101
PLATFORM_LIB_SUBPATH=linux/lib/jetson
100102
else ifeq ($(PLATFORM_ARCH),i386)
101103
PLATFORM_LIB_SUBPATH=linux
102-
else ifeq ($(PLATFORM_ARCH),i686)
104+
else
103105
PLATFORM_LIB_SUBPATH=linux
104106
$(error This makefile does not support your architecture $(PLATFORM_ARCH))
105107
endif
@@ -221,8 +223,11 @@ ifdef MAKEFILE_DEBUG
221223
endif
222224

223225

226+
$(info PLATFORM_LIB_SUBPATH=$(PLATFORM_LIB_SUBPATH))
227+
$(info OF_LIBS_OF_COMPILED_PROJECT_PATH=$(OF_LIBS_OF_COMPILED_PROJECT_PATH))
228+
224229
ifeq ($(wildcard $(OF_LIBS_OF_COMPILED_PROJECT_PATH)/$(PLATFORM_LIB_SUBPATH)),)
225-
$(error This package doesn't support your platform, $(OF_LIBS_OF_COMPILED_PROJECT_PATH) probably you downloaded the wrong package?)
230+
$(error This package doesn't support your platform, $(OF_LIBS_OF_COMPILED_PROJECT_PATH)/$(PLATFORM_LIB_SUBPATH) probably you downloaded the wrong package?)
226231
endif
227232

228233
# generate a list of valid core platform variants from the files in the platform makefiles directory

0 commit comments

Comments
 (0)