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

Correct library information provided to extension modules #2468

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

heplesser
Copy link
Contributor

Until now, the library information provided by nest-config --libs for extension module building include -lnest, i.e., libnest. This library only includes nest_startup.{h,cpp} and is only needed for the NEST executable or main PyNEST module. It can lead to loading problems when included with extension modules.

This PR ensures that -lnest is not returned by nest-config --libs.

@heplesser heplesser added T: Bug Wrong statements in the code or documentation S: High Should be handled next I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Sep 14, 2022
CMakeLists.txt Outdated Show resolved Hide resolved
@clinssen
Copy link
Contributor

NESTML modules seem to build just fine against this branch. Approving!

Co-authored-by: clinssen <[email protected]>
Copy link
Contributor

@jougs jougs left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for your investigation and the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: High Should be handled next T: Bug Wrong statements in the code or documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants