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

link to external library through make #28

Merged
merged 1 commit into from
Apr 6, 2024
Merged

Conversation

tansy
Copy link
Contributor

@tansy tansy commented Feb 3, 2024

In order to link to external library define it in command line. For example to link with libzstd.so:

$ make LIBZSTD=-lzstd

You will still need sources in zstd directory to compile program but it will link to libzstd.so, speeds up compilation and allows to use shared library already used by zstd.

@tansy tansy force-pushed the make-lib branch 2 times, most recently from b524517 to ed011c5 Compare February 3, 2024 15:38
@mcmilk mcmilk merged commit 8388ca3 into mcmilk:master Apr 6, 2024
1 check passed
@tansy tansy deleted the make-lib branch April 24, 2024 19:28
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.

2 participants