Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/ofxAssimp/addon_config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ osx:

emscripten:
ADDON_LIBS=
ADDON_LIBS=../ofxAssimpModelLoader/libs/assimp/lib/emscripten/libassimp.a
ADDON_LIBS=../ofxAssimpModelLoader/libs/assimp/lib/emscripten/%/libassimp.a
2 changes: 1 addition & 1 deletion addons/ofxAssimpModelLoader/addon_config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ osx:

emscripten:
ADDON_LIBS=
ADDON_LIBS=libs/assimp/lib/emscripten/libassimp.a
ADDON_LIBS=libs/assimp/lib/emscripten/%/libassimp.a
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,14 @@ define parse_addon
$(eval TMP_PROJECT_ADDONS_CFLAGS += $(ADDON_CPPFLAGS)) \
$(if $(strip $(ADDON_LIBS)), \
$(foreach addon_lib, $(strip $(ADDON_LIBS)), \
$(if $(wildcard $(addon)/$(addon_lib)), \
$(eval TMP_PROJECT_ADDONS_LIBS += $(addon)/$(addon_lib)) \
$(eval lib_pattern := $(subst %,*,$(addon_lib))) \
$(eval match := $(wildcard $(addon)/$(lib_pattern))) \
$(if $(match), \
$(eval TMP_PROJECT_ADDONS_LIBS += $(match)) \
) \
$(if $(wildcard $(addon_lib)), \
$(eval TMP_PROJECT_ADDONS_LIBS += $(addon_lib)) \
$(eval match_global := $(wildcard $(lib_pattern))) \
$(if $(match_global), \
$(eval TMP_PROJECT_ADDONS_LIBS += $(match_global)) \
) \
) \
) \
Expand Down