diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
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 |
65 | cdata.set('extractor', 0) | 65 | cdata.set('extractor', 0) |
66 | 66 | ||
67 | cdata.set('PKGDATADIRECTORY', get_option('datadir')/'gnunet') | 67 | cdata.set('PKGDATADIRECTORY', get_option('prefix')/get_option('datadir')/'gnunet') |
68 | cdata.set('SYSCONFDIR', get_option('sysconfdir')) | 68 | cdata.set('SYSCONFDIR', get_option('prefix')/get_option('sysconfdir')) |
69 | # Various checks | 69 | # Various checks |
70 | if cc.has_member ('struct sockaddr_in', 'sin_len', prefix : ['#include <sys/types.h>', '#include <sys/socket.h>', '#include <netinet/in.h>']) | 70 | if 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') |