Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 99c1eea

Browse filesBrowse files
ravyn440methane
authored andcommitted
Use c++ for static link (PyMySQL#243)
1 parent 92cd532 commit 99c1eea
Copy full SHA for 99c1eea

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎setup_posix.py

Copy file name to clipboardExpand all lines: setup_posix.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ def get_config():
108108
extra_objects = extra_objects,
109109
define_macros = define_macros,
110110
)
111+
112+
# newer versions of gcc require libstdc++ if doing a static build
113+
if static:
114+
ext_options['language'] = 'c++'
115+
111116
return metadata, ext_options
112117

113118
if __name__ == "__main__":

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.