Use correct path for alsa-lib
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 28 Jul 2007 17:14:06 +0000 (17:14 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 28 Jul 2007 17:14:06 +0000 (17:14 -0000)
package/alsa-lib/alsa-lib.mk

index 3d4e399df97dd8ab78b3e7629833afb6365eda1f..f823f6f901950ca247db72dd223f70cb819e6b61 100644 (file)
@@ -45,7 +45,7 @@ $(ALSA_LIB_DIR)/src/.libs/$(ALSA_LIB_BINARY): $(ALSA_LIB_DIR)/.configured
 
 $(STAGING_DIR)/$(ALSA_LIB_TARGET_BINARY): $(ALSA_LIB_DIR)/src/.libs/$(ALSA_LIB_BINARY)
        $(MAKE) DESTDIR=$(STAGING_DIR) -C $(ALSA_LIB_DIR) install
-       touch -c $@
+       $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libasound.la
 
 $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY): $(STAGING_DIR)/$(ALSA_LIB_TARGET_BINARY)
        mkdir -p $(TARGET_DIR)/usr/share/alsa