Skip to content

Commit

Permalink
scripts/cross-build-mingw.sh: Use newer support libraries with GTK2
Browse files Browse the repository at this point in the history
Combine the libraries from the GTK3 bundle with GTK from the GTK2 one
to get newer GLib & co for GTK2 builds.
  • Loading branch information
b4n authored and kugel- committed Jun 22, 2016
1 parent fda8a04 commit f88c69e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/cross-build-mingw.sh
Expand Up @@ -54,7 +54,7 @@ fetch_and_unzip()
{
local basename=${1##*/}
curl -L -# "$1" > "$basename"
unzip -q "$basename" -d "$2"
unzip -qn "$basename" -d "$2"
rm -f "$basename"
}

Expand Down Expand Up @@ -87,7 +87,8 @@ mkdir "$BUILDDIR"
cd "$BUILDDIR"

mkdir _deps
fetch_and_unzip "$BUNDLE_ZIP" _deps
fetch_and_unzip "$GTK3_BUNDLE_ZIP" _deps
[ "$GTK3" = yes ] || fetch_and_unzip "$BUNDLE_ZIP" _deps
# fixup the prefix= in the pkg-config files
sed -i "s%^\(prefix=\).*$%\1$PWD/_deps%" _deps/lib/pkgconfig/*.pc

Expand Down

0 comments on commit f88c69e

Please sign in to comment.