Problem with custom_target and shared_library #13475
AlexisFronteau
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a development issue that I can't resolve and I don't know if there's a way to find a workaround. In the meson.build of a subproject (let's call it my_subproject), I generate a shared library in C from a Go file (command: go build -buildmode=c-shared). When I link this shared library as a dependency for another shared_library in the same subproject, I can compile it, but if I run ldd on it, the link is subprojects/my_subproject/libMySubproject.so instead of libMySubproject.so, and it can't find it on the target.
Beta Was this translation helpful? Give feedback.
All reactions