diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-04-04 20:53:24 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-04-04 20:53:24 -0500 |
commit | d6cdb34720df886f8dfe180c01af525579add1b9 (patch) | |
tree | 7641b33b3e7d98e7463887574af1238d30377aec | |
parent | d3db26c4ff6c13d100e5c481d421e6c0737a433a (diff) | |
download | cygwin-filesystem-d6cdb34720df886f8dfe180c01af525579add1b9.tar.gz cygwin-filesystem-d6cdb34720df886f8dfe180c01af525579add1b9.tar.xz cygwin-filesystem-d6cdb34720df886f8dfe180c01af525579add1b9.zip |
Don't unset PKG_CONFIG_PATH in %_cygwin_pkg_config
When cross-compiling into a location outside the sysroot (e.g. with
jhbuild), i686-pc-cygwin-pkg-config must honour PKG_CONFIG_PATH.
We still unset it in %_cygwin_env so that it is not used when building
RPM packages.
http://bugzilla.redhat.com/show_bug.cgi?id=688171
-rw-r--r-- | macros.cygwin | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/macros.cygwin b/macros.cygwin index e3c4d13..fa47a6e 100644 --- a/macros.cygwin +++ b/macros.cygwin @@ -101,7 +101,6 @@ package or when debugging this package.\ %_cygwin_pkg_config \ PKG_CONFIG_LIBDIR="%{_cygwin_libdir}/pkgconfig:%{_cygwin_datadir}/pkgconfig:%{_datadir}/pkgconfig"; \ export PKG_CONFIG_LIBDIR; \ - unset PKG_CONFIG_PATH; \ pkg-config %_cygwin_configure %{_cygwin_env} ; \ |