Handle version.dll as a Windows system DLL in nsiswrapper
Adam Tkac
atkac at redhat.com
Wed Apr 8 14:32:30 UTC 2009
Hi all,
I tried to produce installer for cross compiled Windows TigerVNC
viewer via nsiswrapper but it complains about missing version.dll
library:
...
MISSING DEPENDENCY: version.dll (for /usr/i686-pc-mingw32/sys-root/mingw/bin/vncviewer.exe)
...
Richard W.M. Jones suggested that I should look into nsiswrapper
script and modify is_windows_system_dll subroutine. When I added
version.dll to Win system libs all works fine. Proposed patch is
attached.
Regards, Adam
--
Adam Tkac, Red Hat, Inc.
-------------- next part --------------
--- nsiswrapper.pl 2009-02-21 18:16:19.000000000 +0100
+++ /usr/bin/nsiswrapper 2009-04-08 15:05:37.280606358 +0200
@@ -493,7 +493,8 @@ sub is_windows_system_dll
$_ eq 'ole32.dll' ||
$_ eq 'mscoree.dll' ||
$_ eq 'msvcrt.dll' ||
- $_ eq 'user32.dll'
+ $_ eq 'user32.dll' ||
+ $_ eq 'version.dll'
}
# Add Gtk dependencies, if --with-gtk.
More information about the mingw
mailing list