summaryrefslogtreecommitdiff
path: root/gio/gunixmounts.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-10-04 13:23:25 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-10-04 13:23:25 -0700
commit2b34f52b019a001fbe8aea743e95f7a86751fcc9 (patch)
tree818e5c2b938bfcdec3e025802ad99f2619664014 /gio/gunixmounts.c
parente5e14909904abde7455426b2da6b7728ce95ddb1 (diff)
downloadglib-2b34f52b019a001fbe8aea743e95f7a86751fcc9.tar.gz
build: no --export-dynamic ldflags for Solaris
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'gio/gunixmounts.c')
-rw-r--r--gio/gunixmounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index 1e45a5b13..cbf2ee99e 100644
--- a/gio/gunixmounts.c
+++ b/gio/gunixmounts.c
@@ -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