summaryrefslogtreecommitdiff
path: root/.travis.sh
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-04 18:27:44 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-04 18:27:44 -0500
commite99b5494b0c7ba0ebe227d62cb3d9089da2e43bd (patch)
tree6a41db6cef3700ff951fdf24996a31880d05d197 /.travis.sh
parenta6bbce671428f46b1116c4ea9e1524a4c7ab80f3 (diff)
downloadhtml5ks-e99b5494b0c7ba0ebe227d62cb3d9089da2e43bd.tar.xz
html5ks-e99b5494b0c7ba0ebe227d62cb3d9089da2e43bd.zip
bleh
Diffstat (limited to '.travis.sh')
-rwxr-xr-x.travis.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/.travis.sh b/.travis.sh
index 5ae4dd0..dc3c48a 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -75,9 +75,7 @@ case "$1" in
cd ..
rm -rf ffmpeg
- patch -p0 <<EOF
---- apngasm.c
-+++ apngasm.c
+ patch -o - apngasm.c | gcc -x c -o apngasm -Wall $CFLAGS - $(pkg-config --libs libpng --libs zlib) <<EOF
@@ -29,6 +29,7 @@
*/
#include <stdio.h>
@@ -87,7 +85,6 @@ case "$1" in
#include "zlib.h"
EOF
- make LDLIBS="$(pkg-config --libs libpng --libs zlib)" apngasm
sudo install -c -m755 apngasm /usr/local/bin
rm apngasm apngasm.c