Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MacOS: fix for dlopen errors due to SIP #98

Closed
wants to merge 1 commit into from
Closed

Conversation

vvolkl
Copy link
Contributor

@vvolkl vvolkl commented Feb 26, 2023

No description provided.

if(APPLE)
file(READ scripts/k4run filedata)
string(REGEX REPLACE "#!/usr/bin/env python" "#!${Python_EXECUTABLE}" filedata "${filedata}")
file(WRITE scripts/k4run "${filedata}")
Copy link
Contributor

Choose a reason for hiding this comment

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

This is going to mess with git and the inclusion of this file k4run file.
Better use a k4run.in and configure to set the python executable?

@andresailer
Copy link
Contributor

outdated

@andresailer andresailer closed this Aug 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants