Attempt #2: libclcore.bc comes from prebuilts/sdk for unbundled projects.

This change also adds the NDK library path for unbundled builds.

Bug: 7419958
Change-Id: Id8b608b5dd49d72bec697da8fa7a9393d2ab735f
diff --git a/core/definitions.mk b/core/definitions.mk
index c91220d..cb20d8f 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -827,7 +827,8 @@
 	$(dir $@)/$(notdir $(<:.bc=.o)) \
 	$(PRIVATE_COMPILER_RT) \
 	-o $@ -L prebuilts/gcc/ \
-	-L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) -lRSSupport -lm
+	-L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) $(PRIVATE_LIBPATH) \
+	-lRSSupport -lm
 endef
 
 ###########################################################