diff options
author | Tollef Fog Heen <tfheen@qurzaw> | 2009-06-30 03:47:01 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@qurzaw> | 2009-06-30 03:47:01 +0200 |
commit | 39663612a6d0edc07f194eb02d697256c70f27eb (patch) | |
tree | 9b6f3181b508b711f686ed5d80a9670019fef3d0 /main.c | |
parent | 9b49307caed60772474f54eb6b2cc8af22132293 (diff) | |
download | pkg-config-39663612a6d0edc07f194eb02d697256c70f27eb.tar.gz |
2009-06-12 Tor Lillqvist <tml@iki.fi>
* parse.c: On Win32, if the value of a a variable other than the
"prefix" one starts with the non-overridden value of "prefix",
then replace that prefix, too, with the run-time one.
To avoid shadowing warnings, rename a 'p' variable to 'q'.
* pkg-config.1: Corresponding update.
* main.c
* pkg.h: Move the Win32 redefinition of PKG_CONFIG_PC_PATH from
main.c to pkg.h as it now is needed in pkg.c, too.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -36,17 +36,6 @@ #undef STRICT #endif -#ifdef G_OS_WIN32 -/* No hardcoded paths in the binary, thanks */ -/* It's OK to leak this */ -#undef PKG_CONFIG_PC_PATH -#define PKG_CONFIG_PC_PATH \ - g_strconcat (g_win32_get_package_installation_subdirectory (NULL, NULL, "lib/pkgconfig"), \ - ";", \ - g_win32_get_package_installation_subdirectory (NULL, NULL, "share/pkgconfig"), \ - NULL) -#endif - static int want_debug_spew = 0; static int want_verbose_errors = 0; static int want_stdout_errors = 0; |