From 366d9158195e56770263c8b375460db06c79c9d6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 10 Apr 2005 19:42:54 +0000 Subject: [PATCH] fix path to mysql libraries SVN-Revision: 612 --- openwrt/package/asterisk/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openwrt/package/asterisk/Makefile b/openwrt/package/asterisk/Makefile index 169e3915d8..6326799ffc 100644 --- a/openwrt/package/asterisk/Makefile +++ b/openwrt/package/asterisk/Makefile @@ -89,7 +89,7 @@ asterisk-compile: $(PKG_BUILD_DIR)/.patched OPTIMIZE="$(TARGET_CFLAGS)" \ PROC="$(ARCH)" \ CFLAGS_EXTRA="-I$(STAGING_DIR)/usr/include" \ - LDFLAGS_EXTRA="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/mysql" \ + LDFLAGS_EXTRA="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib/mysql" \ CRYPTO_LIBS="-L$(STAGING_DIR)/usr/lib -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic" \ EXTRA_APPS="$(APPS)" \ EXTRA_MODS="$(MODS)" \ @@ -167,6 +167,8 @@ $(PKG_SOUNDS): asterisk-compile $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_SOUNDS_DIR) control/$(PKG_NAME)-sounds.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) mkdir -p $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds cp -a $(PKG_BUILD_DIR)/sounds/* $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/ + rm -f $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/*.mp3 + rm -f $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/vm-* mkdir -p $(PACKAGE_DIR) $(IPKG_BUILD) $(PKG_SOUNDS_DIR) $(PACKAGE_DIR)