-
-
Notifications
You must be signed in to change notification settings - Fork 38.6k
build: refactor pkg-config for shared libraries #1603
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
Changes from 1 commit
e7ce51e
38c6195
4365f34
d5990d1
43feb45
82e5af7
524de59
ac3df1b
bb6697f
1f99345
dea139a
0350f14
d8f4f6d
c5fed67
1e1b008
389a667
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -360,7 +360,6 @@ def pkg_config(pkg): | |
|
|
||
| def format_libraries(list): | ||
| """Returns string of space separated libraries""" | ||
| list = list.replace(' ', '') | ||
| set = list.split(',') | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good point. |
||
| return ' '.join('-l{0}'.format(i) for i in set) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're using
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, was mixed for readability (based on feedback by bnoordhuis). I previously had format everywhere. |
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style: two newlines between functions.