Merge branch 'backport-1146-solaris-fixes-glib-2-62' into 'glib-2-62'

Backport !1146 Solaris fixes to glib-2-62

See merge request GNOME/glib!1156
This commit is contained in:
Philip Withnall 2019-10-08 09:23:56 +00:00
commit 5c1fe670bb
2 changed files with 5 additions and 0 deletions

View File

@ -165,6 +165,9 @@ static guint64 mount_poller_time = 0;
#endif
#elif defined (HAVE_SYS_MNTTAB_H)
#include <sys/mnttab.h>
#if defined(__sun) && !defined(mnt_opts)
#define mnt_opts mnt_mntopts
#endif
#endif
#ifdef HAVE_SYS_VFSTAB_H

View File

@ -2027,6 +2027,8 @@ elif host_system == 'cygwin'
export_dynamic_ldflags = ['-Wl,--export-all-symbols']
elif host_system == 'darwin'
export_dynamic_ldflags = []
elif host_system == 'sunos'
export_dynamic_ldflags = []
else
export_dynamic_ldflags = ['-Wl,--export-dynamic']
endif