From e278dc80e95f3957167c3c7aae42076a7aa8f26c Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Wed, 11 Jul 2012 13:12:58 -0500 Subject: [PATCH] Flurry: Fix Mesa dependency for out-of-order builds * Resolves #8717 --- src/add-ons/screen_savers/flurry/Jamfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/add-ons/screen_savers/flurry/Jamfile b/src/add-ons/screen_savers/flurry/Jamfile index 61854d35fa..54357c262c 100644 --- a/src/add-ons/screen_savers/flurry/Jamfile +++ b/src/add-ons/screen_savers/flurry/Jamfile @@ -9,18 +9,25 @@ if $(HAIKU_GCC_VERSION[1]) < 3 { AddResources Message : Flurry.rdef ; -ScreenSaver Flurry : +local sources = Flurry.cpp Smoke.cpp Spark.cpp Star.cpp Texture.cpp - : +; + +Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ; + # Dependency needed to trigger downloading/unzipping the package before + # compiling the files. + +ScreenSaver Flurry : + $(sources) : be screensaver GL libshared.a $(HAIKU_LOCALE_LIBS) $(TARGET_LIBSUPC++) ; DoCatalogs Flurry : x-vnd.Haiku-Flurry : - Flurry.cpp + $(sources) ;