From ceaa7b43359db71823460f999576805cd5d7a1e0 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sat, 8 Mar 2014 19:37:08 +0100 Subject: Package ffmpeg: Fix generation of --arch param. GNU Make's patsubst does strange things (aka. nothing at all) when there are dots in the text it should replace... --- src/ffmpeg.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index 26ec7c2..404d22c 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -20,11 +20,10 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - '$(SED)' -i "s^[-]lvpx^`'$(TARGET)'-pkg-config --libs-only-l vpx`^g;" $(1)/configure cd '$(1)' && ./configure \ --cross-prefix='$(TARGET)'- \ --enable-cross-compile \ - --arch=$(patsubst -%,,$(TARGET)) \ + --arch=$(firstword $(subst -, ,$(TARGET))) \ --target-os=mingw32 \ --prefix='$(PREFIX)/$(TARGET)' \ $(if $(BUILD_STATIC), \ -- cgit v0.12