Skip to content

Commit

Permalink
Windows: copy dependencies of the GdkPixbuf SVG loader into bindist
Browse files Browse the repository at this point in the history
Since the SVG loader is dynamically loaded by GdkPixbuf, the `ntldd` call on
an emulator executable won't pick it up, we need explicitly get the deps of
the SVG loader and copy them into the bindist as well.
Should fix bug #2081, please test once the bindist is built on Github.


git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45390 379a1393-f5fb-40a0-bcee-ef074d9b53f7
  • Loading branch information
Compyx committed Dec 5, 2024
1 parent 531dd2d commit 211f3d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vice/src/arch/gtk3/make-bindist_win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ if test x"$CROSS" != "xtrue"; then
cd $BUILDPATH
GDK_PIXBUF_MODULEDIR=lib/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders > lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
cd $MINGW_PREFIX
# get dependencies of the SVG loader
# FIXME: only works for the updated SVG (renamed) SVG loader
cp `ntldd -R $BUILDPATH/lib/gdk-pixbuf-2.0/2.10.0//loaders/pixbufloader_svg.dll | gawk '/\\\\bin\\\\/{print $3;}' | cygpath -f -` $BUILDPATH/bin

# GTK3 accepts having only scalable icons,
# which reduces the bindist size considerably.
Expand Down

0 comments on commit 211f3d1

Please sign in to comment.