diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/meson.build | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shared/meson.build b/shared/meson.build index 5b15c05..f0ef635 100644 --- a/shared/meson.build +++ b/shared/meson.build @@ -5,8 +5,6 @@ srcs_libshared = [ 'utils.c', ] -inc_libshared = include_directories('.') - deps_libshared = [ dep_config_h, ] @@ -19,9 +17,12 @@ lib_libshared = static_library( dependencies: deps_libshared, ) +# Note: include_directories is *not* set here so that it is necessary +# to include "shared/foo.h" instead of "foo.h", which makes it +# clearer where the header files reside. + dep_libshared = declare_dependency( link_with: lib_libshared, dependencies: deps_libshared, - include_directories: inc_libshared, ) |