[glib/wip/tingping/rtld-check-fix] build: Fix check for RTLD_NEXT
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/tingping/rtld-check-fix] build: Fix check for RTLD_NEXT
- Date: Tue, 16 Apr 2019 16:24:27 +0000 (UTC)
commit 641966c1bbc3b37d546824b1b146bce2045fdf5a
Author: Patrick Griffis <pgriffis igalia com>
Date: Tue Apr 16 09:22:11 2019 -0700
build: Fix check for RTLD_NEXT
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 85433fb3b..338e49ed4 100644
--- a/meson.build
+++ b/meson.build
@@ -593,7 +593,7 @@ if cc.has_header_symbol('dlfcn.h', 'RTLD_GLOBAL')
endif
have_rtld_next = false
-if cc.has_header_symbol('dlfcn.h', 'RTLD_NEXT')
+if cc.has_header_symbol('dlfcn.h', 'RTLD_NEXT', args: '-D_GNU_SOURCE')
have_rtld_next = true
glib_conf.set('HAVE_RTLD_NEXT', 1)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]