aboutsummaryrefslogtreecommitdiffstats
path: root/package/asterisk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-10 19:42:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-10 19:42:54 +0000
commita2ae4b077869543112752f359b08abdb61733c91 (patch)
tree1ae362115a0410dc09799a85899f75c1d931e788 /package/asterisk
parent59003ac2c362a4ce5b26829f0928abfcde902510 (diff)
downloadupstream-a2ae4b077869543112752f359b08abdb61733c91.tar.gz
upstream-a2ae4b077869543112752f359b08abdb61733c91.tar.bz2
upstream-a2ae4b077869543112752f359b08abdb61733c91.zip
fix path to mysql libraries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@612 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 169e3915d8..6326799ffc 100644
--- a/package/asterisk/Makefile
+++ b/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)