Skip to content

Commit

Permalink
[bundle] Allow bundle instances to opt out of being a dynamic library.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirb committed Nov 22, 2015
1 parent c0863f6 commit 234e1c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions makefiles/instance/bundle.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ endif

.PHONY: internal-bundle-all_ internal-bundle-stage_ internal-bundle-compile

ifeq ($(call __theos_bool,$(or $($(THEOS_CURRENT_INSTANCE)_DYNAMIC_LIBRARY),$(_THEOS_TRUE))),$(_THEOS_TRUE))
_THEOS_INTERNAL_LDFLAGS += -dynamiclib
endif

# Bundle Setup
LOCAL_BUNDLE_NAME = $(or $($(THEOS_CURRENT_INSTANCE)_BUNDLE_NAME),$(THEOS_CURRENT_INSTANCE))
Expand Down

0 comments on commit 234e1c4

Please sign in to comment.