summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cerbero/ide/pkgconfig.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/cerbero/ide/pkgconfig.py b/cerbero/ide/pkgconfig.py
index c12716f2..e8c22e14 100644
--- a/cerbero/ide/pkgconfig.py
+++ b/cerbero/ide/pkgconfig.py
@@ -105,10 +105,6 @@ class PkgConfig(object):
@staticmethod
def set_executable(env, config):
- if config.distro == Distro.MSYS2:
- # We use pkg-config installed with pacman
- env['PKG_CONFIG'] = "/ucrt64/bin/pkg-config"
- return
env['PKG_CONFIG'] = os.path.join(config.build_tools_prefix, 'bin', 'pkg-config')
def _remove_deps(self, func, all_values):
@@ -143,4 +139,4 @@ class PkgConfig(object):
env_paths = env.get(var, None)
if env_paths is not None:
dirs += env_paths.split(separator)
- env[var] = separator.join(dirs) \ No newline at end of file
+ env[var] = separator.join(dirs)