summaryrefslogtreecommitdiff
path: root/package/mpg123/mpg123.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mpg123/mpg123.mk')
-rw-r--r--package/mpg123/mpg123.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk
index 2213e86b8..2660b706c 100644
--- a/package/mpg123/mpg123.mk
+++ b/package/mpg123/mpg123.mk
@@ -8,8 +8,8 @@ MPG123_SOURCE=mpg123-$(MPG123_VERSION).tar.bz2
MPG123_CAT:=$(BZCAT)
MPG123_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mpg123
MPG123_DIR:=$(BUILD_DIR)/mpg123-$(MPG123_VERSION)
-MPG123_BIN:=mpg123
-MPG123_TARGET_BIN:=usr/bin/$(MPG123_BIN)
+MPG123_BIN:=src/mpg123
+MPG123_TARGET_BIN:=usr/bin/mpg123
# Check if ALSA is built, then we should configure after alsa-lib so
# ./configure can find alsa-lib.
@@ -50,7 +50,7 @@ $(MPG123_DIR)/$(MPG123_BIN): $(MPG123_DIR)/.configured
$(MAKE) -C $(MPG123_DIR)
$(TARGET_DIR)/$(MPG123_TARGET_BIN): $(MPG123_DIR)/$(MPG123_BIN)
- $(INSTALL) -D $(MPG123_DIR)/src/$(MPG123_BIN) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
+ $(INSTALL) -D $(MPG123_DIR)/$(MPG123_BIN) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
mpg123: uclibc $(MPG123_ALSA_DEP) $(TARGET_DIR)/$(MPG123_TARGET_BIN)