Skip to content

Commit

Permalink
[bcc] fix installation
Browse files Browse the repository at this point in the history
The installation directory needs to be on PYTHONPATH, otherwise
installation will fail.
  • Loading branch information
michalgr committed Dec 20, 2023
1 parent ad008aa commit 9ba5b25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/bcc/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ $(eval $(call project-define,bcc))
BCC_EXTRA_CFLAGS += "-I$(abspath $(ANDROID_OUT_DIR))/include"
BCC_EXTRA_LDFLAGS = "-L$(abspath $(ANDROID_OUT_DIR))/lib"

$(BCC_ANDROID): \
export PYTHONPATH=$PYTHONPATH:$(abspath $(ANDROID_OUT_DIR)/lib/python3.10/site-packages/)
$(BCC_ANDROID):
ifeq ($(BUILD_TYPE), Debug)
cd $(ANDROID_BUILD_DIR)/bcc && $(MAKE) install -j $(THREADS)
Expand Down

0 comments on commit 9ba5b25

Please sign in to comment.