Commit d090112a authored by Jason Madden's avatar Jason Madden Committed by GitHub

Merge pull request #1789 from ThePrez/master

Fix build for IBM i (remove libperfstat linking)
parents 83c9e2ae 66d0edb6
......@@ -272,7 +272,8 @@ elif sys.platform.startswith('sunos'): # pragma: no cover
_define_macro('SUNOS_NO_IFADDRS', '')
elif sys.platform.startswith('aix'): # pragma: no cover
_define_macro('_LINUX_SOURCE_COMPAT', 1)
_add_library('perfstat')
if os.uname().sysname != 'OS400':
_add_library('perfstat')
elif WIN:
_define_macro('_GNU_SOURCE', 1)
_define_macro('WIN32', 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment