Handle version.dll as a Windows system DLL in nsiswrapper
Richard W.M. Jones
rjones at redhat.com
Wed Apr 8 15:17:49 UTC 2009
On Wed, Apr 08, 2009 at 04:32:30PM +0200, Adam Tkac wrote:
> 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.
> --- 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'
> }
+1 to the patch.
We really need a way to get a definitive list of DLLs (in Windows /
that we support). We have the same problem chasing DLLs in the
mingw32-filesystem package too.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
More information about the mingw
mailing list