expat: make sure usr/lib/ exists
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 13 Jun 2008 13:31:41 +0000 (13:31 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 13 Jun 2008 13:31:41 +0000 (13:31 -0000)
package/expat/expat.mk

index be67e0373be4ab82a36f2aaa7ec48c2cf04c2099..f64161a11a39e8b5010bd47eadbccff5a1211d0b 100644 (file)
@@ -52,6 +52,7 @@ $(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
        touch -c $@
 
 $(TARGET_DIR)/$(EXPAT_TARGET_BINARY): $(STAGING_DIR)/$(EXPAT_TARGET_BINARY)
+       mkdir -p $(TARGET_DIR)/usr/lib
        cp -dpf $(STAGING_DIR)/usr/lib/libexpat.so* $(TARGET_DIR)/usr/lib/
        #cp -dpf $(STAGING_DIR)/usr/bin/xmlwf $(TARGET_DIR)/usr/bin/xmlwf
        -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libexpat.so*