Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctypes add stubs link flags #1

Closed
wants to merge 6 commits into from
Closed

Conversation

frejsoya
Copy link
Owner

emillon and others added 6 commits September 19, 2023 16:17
* fix(bench): set correct account names for docker

Signed-off-by: Etienne Millon <[email protected]>

* specify dockerfile directly

Signed-off-by: Etienne Millon <[email protected]>

---------

Signed-off-by: Etienne Millon <[email protected]>
Required in case where the external lib is not statically linked, so
linker needs to be aware at runtime what libs to call

That is to ocamlmklib command, add -l<libname> -L<libdir> from ctypes if
available.

If libexample.so is not installed in standard linker dirs, env variable
such as LD_LIBRARY_PATH must be extended et at runtime.

TOOD: look into @rpath to simplify un-installed library lookup.
@frejsoya frejsoya closed this Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants