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 = \
--cc="$(CC)" \
--disable-doc \
--disable-decoder=libvpx \
--enable-gsm \
--enable-libgsm \
--disable-debug \
--enable-gpl \
--enable-postproc \
......
......@@ -19,6 +19,7 @@ endif
.gsm: gsm
cd $< && $(HOSTVARS) $(MAKE)
cd $< && mkdir -p $(PREFIX)/include/gsm && cp inc/gsm.h $(PREFIX)/include/gsm
cd $< && cp lib/libgsm.a $(PREFIX)/lib
mkdir -p "$(PREFIX)/include/gsm" "$(PREFIX)/lib"
cp $</inc/gsm.h "$(PREFIX)/include/gsm"
cp $</lib/libgsm.a "$(PREFIX)/lib"
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