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 yubihsm_pkcs11 against static libyubihsm when ENABLE_STATIC is on #436

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

qpernil
Copy link
Contributor

@qpernil qpernil commented Nov 4, 2024

No description provided.

@qpernil qpernil requested a review from aveenismail November 4, 2024 16:45
@qpernil qpernil self-assigned this Dec 2, 2024
@qpernil qpernil force-pushed the static-pkcs11 branch 3 times, most recently from cc23023 to 99bdc43 Compare December 2, 2024 14:23
Copy link

@dacav dacav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

${LIBCRYPTO_LDFLAGS}
${GETOPT_LIBS}
)
endif(ENABLE_STATIC)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you wish, I'm quite sure you can have multiple additions, e.g.

target_link_libraries(x a b c)
if (ENABLE_STATIC)
  target_link_libraries(x d_static)
else()
  target_link_libraries(x d)
endif()

AFAIK the argument of else() and endif() can be (nowadays) omitted.

I don't know much about this project: are some of these dependencies eligible as PRIVATE?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review, I have updated as you suggested. Not sure what you mean by PRIVATE here

@qpernil qpernil merged commit 694c419 into master Dec 3, 2024
59 of 64 checks passed
@qpernil qpernil deleted the static-pkcs11 branch December 3, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants