We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c40d1 commit ab0d5f9Copy full SHA for ab0d5f9
lib/cpy_distutils.py
@@ -416,8 +416,9 @@ class BuildExtStatic(BuildExtDynamic):
416
user_options = build_ext.user_options + CEXT_OPTIONS
417
418
def finalize_options(self):
419
- self.set_undefined_options('install',
420
- ('with_mysql_capi', 'with_mysql_capi'))
+ if not self.with_mysql_capi:
+ self.set_undefined_options('install',
421
+ ('with_mysql_capi', 'with_mysql_capi'))
422
423
build_ext.finalize_options(self)
424
self.connc_lib = os.path.join(self.build_temp, 'connc', 'lib')
0 commit comments