Merge branch 'solaris-build-fixes' into 'master'

Solaris build fixes

See merge request GNOME/glib!1146
This commit is contained in:
Philip Withnall 2019-10-07 08:44:39 +00:00
commit acf55ad584
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