aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 0101d43dd..54250ce8f 100644
--- a/meson.build
+++ b/meson.build
@@ -64,8 +64,8 @@ endif
64# FIXME 64# FIXME
65cdata.set('extractor', 0) 65cdata.set('extractor', 0)
66 66
67cdata.set('PKGDATADIRECTORY', get_option('datadir')/'gnunet') 67cdata.set('PKGDATADIRECTORY', get_option('prefix')/get_option('datadir')/'gnunet')
68cdata.set('SYSCONFDIR', get_option('sysconfdir')) 68cdata.set('SYSCONFDIR', get_option('prefix')/get_option('sysconfdir'))
69# Various checks 69# Various checks
70if cc.has_member ('struct sockaddr_in', 'sin_len', prefix : ['#include <sys/types.h>', '#include <sys/socket.h>', '#include <netinet/in.h>']) 70if cc.has_member ('struct sockaddr_in', 'sin_len', prefix : ['#include <sys/types.h>', '#include <sys/socket.h>', '#include <netinet/in.h>'])
71 add_project_arguments('-DHAVE_SOCKADDR_IN_SIN_LEN', language: 'c') 71 add_project_arguments('-DHAVE_SOCKADDR_IN_SIN_LEN', language: 'c')