Remove version from default MARIADB_CONNECTOR_C path

This commit is contained in:
Nicholas Hastings
2026-08-16 12:58:44 -04:00
parent f158621572
commit a99a7a3d54
+2 -2
View File
@@ -146,7 +146,7 @@ class SMConfig(object):
if mariadb_path:
self.mariadb_root['x86'] = mariadb_path
else:
self.mariadb_root['x86'] = ResolveEnvPath('MARIADB_CONNECTOR_C', 'mariadb-connector-c-3.4.8-x86')
self.mariadb_root['x86'] = ResolveEnvPath('MARIADB_CONNECTOR_C', 'mariadb-connector-c-x86')
if not self.mariadb_root['x86'] or not os.path.isdir(self.mariadb_root['x86']):
raise Exception('Could not find an x86 MariaDB Connector/C path. Configure with --no-mysql to disable it.')
self.mariadb_root['x86'] = Normalize(self.mariadb_root['x86'])
@@ -157,7 +157,7 @@ class SMConfig(object):
if mariadb64_path:
self.mariadb_root['x86_64'] = mariadb64_path
else:
self.mariadb_root['x86_64'] = ResolveEnvPath('MARIADB_CONNECTOR_C_64', 'mariadb-connector-c-3.4.8-x86_64')
self.mariadb_root['x86_64'] = ResolveEnvPath('MARIADB_CONNECTOR_C_64', 'mariadb-connector-c-x86_64')
if not self.mariadb_root['x86_64'] or not os.path.isdir(self.mariadb_root['x86_64']):
raise Exception('Could not find an x86_64 MariaDB Connector/C path.')
self.mariadb_root['x86_64'] = Normalize(self.mariadb_root['x86_64'])