[haiku-commits] Re: r39251 - haiku/trunk/build/jam

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 01 Nov 2010 16:59:09 +0100

Hi,

Am 01.11.2010 16:37, schrieb scott mc:
Modified: haiku/trunk/build/jam/OptionalLibPackages
===================================================================
--- haiku/trunk/build/jam/OptionalLibPackages   2010-11-01 15:24:28 UTC (rev 
39250)
+++ haiku/trunk/build/jam/OptionalLibPackages   2010-11-01 15:37:46 UTC (rev 
39251)
@@ -64,15 +64,17 @@
  if [ IsOptionalHaikuImagePackageAdded box2d ] {
        if $(TARGET_ARCH) != x86 {
                Echo "No optional package box2d available for $(TARGET_ARCH)" ;
-       } else if $(HAIKU_GCC_VERSION[1])>= 4 {
+       } else {
+               if $(HAIKU_GCC_VERSION[1])>= 4 || $(isHybridBuild) {
                InstallOptionalHaikuImagePackage
                        box2d-2.1.2-x86-gcc4-2010-10-30.zip
                        : $(baselibURL)/box2d-2.1.2-x86-gcc4-2010-10-30.zip
                        :
                        : true
                ;
-       } else {
-               echo "No optional package box2d available for gcc2" ;
+               } else {
+                       Echo "No optional package box2d available for 
$(TARGET_ARCH)-gcc2" ;
+               }
        }
  }

Seems you forgot to fix the indentation as well. :-)

Best regards,
-Stephan


Other related posts: