Commit 3593c1e8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: robustify and fix gsm

parent c33aef8b
...@@ -9,7 +9,7 @@ FFMPEGCONF = \ ...@@ -9,7 +9,7 @@ FFMPEGCONF = \
--cc="$(CC)" \ --cc="$(CC)" \
--disable-doc \ --disable-doc \
--disable-decoder=libvpx \ --disable-decoder=libvpx \
--enable-gsm \ --enable-libgsm \
--disable-debug \ --disable-debug \
--enable-gpl \ --enable-gpl \
--enable-postproc \ --enable-postproc \
......
...@@ -19,6 +19,7 @@ endif ...@@ -19,6 +19,7 @@ endif
.gsm: gsm .gsm: gsm
cd $< && $(HOSTVARS) $(MAKE) cd $< && $(HOSTVARS) $(MAKE)
cd $< && mkdir -p $(PREFIX)/include/gsm && cp inc/gsm.h $(PREFIX)/include/gsm mkdir -p "$(PREFIX)/include/gsm" "$(PREFIX)/lib"
cd $< && cp lib/libgsm.a $(PREFIX)/lib cp $</inc/gsm.h "$(PREFIX)/include/gsm"
cp $</lib/libgsm.a "$(PREFIX)/lib"
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment