win32: improve the package installation dir lookup
authorIgnacio Casal Quinteiro <icq@gnome.org>
Tue, 29 Jul 2014 16:59:21 +0000 (18:59 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Thu, 31 Jul 2014 11:04:56 +0000 (13:04 +0200)
commit786590fe93682c9b28136ccf65d870b23dd807f7
treea88d0e33fe21a879b1410a15d0cce2e53e91491e
parent905a8e655c4f50f655cbd90455b26a37b977c563
win32: improve the package installation dir lookup

As an example, the core of gedit is in a private library
placed in %INSTALLDIR%/lib/gedit/libgedit.dll

Before this patch we would get %INSTALLDIR%/lib/gedit as the
installation package dir, while what we actually want is to get
%INSTALLDIR%

https://bugzilla.gnome.org/show_bug.cgi?id=733934
glib/gwin32.c