8000 cmake: force to build a static library from cmdopt.cc by s-yata · Pull Request #96 · s-yata/marisa-trie · GitHub
[go: up one dir, main page]

Skip to content
8000

cmake: force to build a static library from cmdopt.cc #96

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

Merged
merged 1 commit into from
May 24, 2025

Conversation

s-yata
Copy link
Owner
@s-yata s-yata commented May 24, 2025

If STATIC is not specified, in case of BUILD_SHARED_LIBS=ON, binaries are linked to cmdopt.so but it is not installed.
This causes an error as follows:

marisa-build: error while loading shared libraries: libcmdopt.so: cannot open shared object file: No such file or directory

If STATIC is not specified, in case of BUILD_SHARED_LIBS=ON, binaries are
linked to cmdopt.so but it is not installed.
This causes an error as follows:

marisa-build: error while loading shared libraries: libcmdopt.so:
cannot open shared object file: No such file or directory
< 8000 /div>
@s-yata s-yata marked this pull request as ready for review May 24, 2025 12:12
@s-yata
Copy link
Owner Author
s-yata commented May 24, 2025

@glebm Is this OK?

@glebm
Copy link
Contributor
glebm commented May 24, 2025

Yeah, this makes sense

@s-yata
Copy link
Owner Author
s-yata commented May 24, 2025

Thank you for your review!

@s-yata s-yata merged commit 381e8de into master May 24, 2025
7 checks passed
@s-yata s-yata deleted the force-static-cmdopt branch May 24, 2025 13:14
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
0