components/unrar/Makefile
changeset 4355 918f15f3f728
parent 4339 6501cf9c29f9
child 5682 94c0ca64c022
--- a/components/unrar/Makefile	Tue May 26 14:20:17 2015 -0700
+++ b/components/unrar/Makefile	Tue May 26 16:21:56 2015 -0700
@@ -41,11 +41,12 @@
 
 include $(WS_MAKE_RULES)/prep.mk
 include $(WS_MAKE_RULES)/justmake.mk
-include $(WS_MAKE_RULES)/ips.mk
 
-PKG_PROTO_DIRS = $(MANGLED_DIR)
-PKG_PROTO_DIRS += $(BUILD_DIR_64)
-PKG_PROTO_DIRS += $(COMPONENT_DIR)
+# We need this before the default PKG_PROTO_DIRS, so set it before we include
+# ips.mk, which will append the default set.
+PKG_PROTO_DIRS = $(BUILD_DIR_64)
+
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL =	0
 
@@ -74,7 +75,6 @@
 
 system-test:    $(NO_TESTS)
 
-
 REQUIRED_PACKAGES += system/library
 REQUIRED_PACKAGES += system/library/c++-runtime
 REQUIRED_PACKAGES += system/library/math