Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

Patching Makefiles generated by qmake #56

Merged
merged 2 commits into from
Aug 21, 2016
Merged

Conversation

IngoMeyer441
Copy link

On OSX Makefiles generated by qmake are patched to remove absolute compiler and linker paths.
See #53

@IngoMeyer441 IngoMeyer441 mentioned this pull request Mar 15, 2016
@@ -202,6 +202,25 @@ def run(cmd, *args, **kwargs):
print("$ " + " ".join(cmd))
subprocess.call(cmd, *args, **kwargs)

# helper function to set CC and CXX variables correctly on OSX with qmake
Copy link
Owner

Choose a reason for hiding this comment

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

Please use PEP8-style doc comments.

    - PEP8 style doc string
    - Simplified patching (uses only re.sub)
    - Notification is printed when the patching function is invoked
@rdnetto rdnetto merged commit 082ad91 into rdnetto:develop Aug 21, 2016
rdnetto added a commit that referenced this pull request Aug 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants