mirror of
https://github.com/likle/cwalk.git
synced 2026-10-28 09:44:01 +00:00
meson: Fix symbol exporting
This commit is contained in:
1 parent
f418404bf3
commit
852763951c
1 file changed
+7
-1
+7
-1
@@ -6,9 +6,15 @@ project('cwalk', 'c',
|
||||
|
||||
cwalk_inc = include_directories('include')
|
||||
|
||||
cwalk_c_args = []
|
||||
if get_option('default_library') == 'shared'
|
||||
cwalk_c_args += '-DCWK_SHARED'
|
||||
endif
|
||||
|
||||
cwalk = library('cwalk', 'src/cwalk.c',
|
||||
install: true,
|
||||
include_directories: cwalk_inc
|
||||
include_directories: cwalk_inc,
|
||||
c_args: cwalk_c_args
|
||||
)
|
||||
|
||||
install_headers('include/cwalk.h')
|
||||
|
||||
Reference in new issue
Block a user