build: no --export-dynamic ldflags for Solaris

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2019-10-04 13:23:25 -07:00
parent e5e1490990
commit 2b34f52b01
2 changed files with 3 additions and 1 deletions

View File

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

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