GNOME Bugzilla – Bug 564003
gvfs Cygwin patches
Last modified: 2009-03-05 15:46:01 UTC
I'm attaching two patches for fixing the build of gvfs on Cygwin.
Created attachment 124356 [details] [review] no-undefined patch This is required to build a shared libgvfscommon on Cygwin.
Created attachment 124360 [details] [review] struct timeval patch struct timeval is provided by <sys/time.h>.
I applied the timeval patch. But why is -no-undefined needed? It should only cause the reporting of undefined symbols, not affect the final result.
from libtool: case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # FIXME: Unfortunately, there are problems with the above when trying # to make a dll which has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library.
commited