diff options
Diffstat (limited to 'meson/test cases/common/145 recursive linking/shstdep')
-rw-r--r-- | meson/test cases/common/145 recursive linking/shstdep/lib.c | 8 | ||||
-rw-r--r-- | meson/test cases/common/145 recursive linking/shstdep/meson.build | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/common/145 recursive linking/shstdep/lib.c b/meson/test cases/common/145 recursive linking/shstdep/lib.c new file mode 100644 index 000000000..5da8d0b2e --- /dev/null +++ b/meson/test cases/common/145 recursive linking/shstdep/lib.c @@ -0,0 +1,8 @@ +#include "../lib.h" + +int get_stnodep_value (void); + +SYMBOL_EXPORT +int get_shstdep_value (void) { + return get_stnodep_value (); +} diff --git a/meson/test cases/common/145 recursive linking/shstdep/meson.build b/meson/test cases/common/145 recursive linking/shstdep/meson.build new file mode 100644 index 000000000..008f9f893 --- /dev/null +++ b/meson/test cases/common/145 recursive linking/shstdep/meson.build @@ -0,0 +1 @@ +shstdep = shared_library('shstdep', 'lib.c', link_with : stnodep) |