From ca4843822f6bf9c6533a54519378d969db588837 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 2 May 2012 19:11:20 +0000 Subject: [PATCH] pkg: use PKG_CONFIG_EXT everywhere --- pkg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg.c b/pkg.c index c7fba05..fa8716b 100644 --- a/pkg.c +++ b/pkg.c @@ -75,13 +75,13 @@ pkg_find(const char *name) while (iter < count) { - snprintf(locbuf, sizeof locbuf, "%s/%s.pc", path[iter], name); + snprintf(locbuf, sizeof locbuf, "%s/%s" PKG_CONFIG_EXT, path[iter], name); if (f = fopen(locbuf, "r")) return parse_file(locbuf, f); } } - snprintf(locbuf, sizeof locbuf, "%s/%s.pc", PKG_DEFAULT_PATH, name); + snprintf(locbuf, sizeof locbuf, "%s/%s" PKG_CONFIG_EXT, PKG_DEFAULT_PATH, name); if (f = fopen(locbuf, "r")) return parse_file(locbuf, f);