Skip to content

Enable PIC for shared lib builds - #709

Draft
jayeshkrishna wants to merge 1 commit into
masterfrom
jayeshkrishna/pic_for_object_libs
Draft

Enable PIC for shared lib builds#709
jayeshkrishna wants to merge 1 commit into
masterfrom
jayeshkrishna/pic_for_object_libs

Conversation

@jayeshkrishna

Copy link
Copy Markdown
Contributor

Explicitly enable PIC for shared library builds

Explicitly enable PIC for shared library builds (CMake does not
apply PIC to OBJECT libraries when BUILD_SHARED_LIBS is turned
ON. So explicitly apply it for all sources files)
@jayeshkrishna jayeshkrishna self-assigned this Aug 4, 2026
@jayeshkrishna jayeshkrishna added the Next Release Enhancements slated for the upcoming (next) release label Aug 4, 2026
@jayeshkrishna

Copy link
Copy Markdown
Contributor Author

This fix is most likely not needed since simple shared lib builds are successful (without this fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Next Release Enhancements slated for the upcoming (next) release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant