diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-06-27 11:29:41 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-06-27 11:29:41 -0500 |
commit | d6a77febbe604553ceb03155e0acfcc1bc565e69 (patch) | |
tree | 4166191bdc63d98be26491f58985c024adf84239 | |
parent | 835d08ee5f76168d9ba67f3f43e6e4c8e1676946 (diff) | |
download | cygwin-pkg-config-d6a77febbe604553ceb03155e0acfcc1bc565e69.tar.gz cygwin-pkg-config-d6a77febbe604553ceb03155e0acfcc1bc565e69.tar.xz cygwin-pkg-config-d6a77febbe604553ceb03155e0acfcc1bc565e69.zip |
Configure system include and library paths
-rw-r--r-- | cygwin-pkg-config.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/cygwin-pkg-config.spec b/cygwin-pkg-config.spec index 8a2cc3a..7573c24 100644 --- a/cygwin-pkg-config.spec +++ b/cygwin-pkg-config.spec @@ -1,6 +1,6 @@ Name: cygwin-pkg-config Version: 0.28 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A tool for determining compilation options License: GPLv2+ @@ -53,7 +53,9 @@ pushd build_cyg32 --disable-shared \ --disable-host-tool \ --program-prefix=%{cygwin32_target}- \ - --with-pc-path=%{cygwin32_libdir}/pkgconfig:%{cygwin32_datadir}/pkgconfig:%{_datadir}/pkgconfig + --with-pc-path=%{cygwin32_libdir}/pkgconfig:%{cygwin32_datadir}/pkgconfig:%{_datadir}/pkgconfig \ + --with-system-include-path=%{cygwin32_includedir} \ + --with-system-library-path=%{cygwin32_libdir} make %{?_smp_mflags} popd @@ -64,7 +66,9 @@ pushd build_cyg64 --disable-shared \ --disable-host-tool \ --program-prefix=%{cygwin64_target}- \ - --with-pc-path=%{cygwin64_libdir}/pkgconfig:%{cygwin64_datadir}/pkgconfig:%{_datadir}/pkgconfig + --with-pc-path=%{cygwin64_libdir}/pkgconfig:%{cygwin64_datadir}/pkgconfig:%{_datadir}/pkgconfig \ + --with-system-include-path=%{cygwin64_includedir} \ + --with-system-library-path=%{cygwin64_libdir} make %{?_smp_mflags} popd @@ -91,5 +95,8 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/pkg-config %changelog +* Thu Jun 27 2013 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 0.28-2 +- Configure system include and library paths to avoid -I and -L flags. + * Wed Jun 26 2013 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 0.28-1 - Initial spec file, largely based on mingw-pkg-config. |