diff options
author | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-03-08 18:37:08 (GMT) |
---|---|---|
committer | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-03-08 21:00:19 (GMT) |
commit | ceaa7b43359db71823460f999576805cd5d7a1e0 (patch) | |
tree | c43d64787619d0be3b95c35630c1c77d24272f3c /src | |
parent | 15fb0b4df90d46cc8b1bf96f0bdff1fcce794551 (diff) | |
download | mxe-ceaa7b43359db71823460f999576805cd5d7a1e0.zip mxe-ceaa7b43359db71823460f999576805cd5d7a1e0.tar.gz mxe-ceaa7b43359db71823460f999576805cd5d7a1e0.tar.bz2 |
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...
Diffstat (limited to 'src')
-rw-r--r-- | src/ffmpeg.mk | 3 |
1 files changed, 1 insertions, 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), \ |