This commit is contained in:
frknkrc44 2021-07-02 00:37:23 +03:00
parent 156e460117
commit 1c39c04194

View File

@ -84,7 +84,7 @@ class PostgresConfig:
self.pg_config_exe = self.autodetect_pg_config_path()
self.pkg_config_exe = self.build_ext.pkg_config
self.using_pkg_config = self.pkg_config_exe is not None
if not self.pkg_config_exe:
if not self.pg_config_exe and not self.pkg_config_exe:
self.pkg_config_exe = self.autodetect_pkg_config_path()
self.using_pkg_config = self.pkg_config_exe is not None
if not self.pg_config_exe and not self.pkg_config_exe: