mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
pkgconf is a better replacement for pkg-config. Fedora 26 replaces the system pkg-config implementation with pkgconf because it "provides better support for handling .pc files and a stable library ABI/API for integrating into applications." and is actively maintained, unlike pkg-config. pkgconf aims to offer many improvements over pkg-config such as faster/more efficient dependency resolver which "allows for the user to more conservatively link their binaries -- which may be helpful in some environments, such as when prelink(1) is being used. pkgconf also aims to provide a more complete implementation of pkg-config. The features most likely to benefit the Yocto Project build system are the faster/more efficient dependency resolution and linker flag optimisation. Move pkgconf recipe to oe-core from meta-pkgconf: https://github.com/kergoth/meta-kergoth-wip/tree/master/meta-pkgconf Links: 1. http://pkgconf.org 2. https://fedoraproject.org/wiki/Changes/pkgconf_as_system_pkg-config_implementation 3. https://bugzilla.yoctoproject.org/show_bug.cgi?id=11308 (From OE-Core rev: 879bd0ff00ebebfdeef52c3f61597d635e040aef) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
49 lines
1.2 KiB
Diff
49 lines
1.2 KiB
Diff
From ea28c5b34457cf7676181b284e22ea5f79a30d85 Mon Sep 17 00:00:00 2001
|
|
From: "Maxin B. John" <maxin.john@intel.com>
|
|
Date: Thu, 13 Jul 2017 14:47:31 +0300
|
|
Subject: [PATCH] stdinc.h: fix build with mingw
|
|
|
|
Fixes this build error with mingw:
|
|
...
|
|
| compilation terminated.
|
|
| In file included from ../pkgconf-1.3.7/libpkgconf/libpkgconf.h:19:0,
|
|
| from ../pkgconf-1.3.7/libpkgconf/audit.c:16:
|
|
| ../pkgconf-1.3.7/libpkgconf/stdinc.h:36:12: fatal error: BaseTsd.h: No
|
|
such file or directory
|
|
| # include <BaseTsd.h>
|
|
|
|
Upstream-Status: Submitted
|
|
|
|
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
---
|
|
libpkgconf/stdinc.h | 10 +++++++++-
|
|
1 file changed, 9 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/libpkgconf/stdinc.h b/libpkgconf/stdinc.h
|
|
index ac7e53c..d8efcf5 100644
|
|
--- a/libpkgconf/stdinc.h
|
|
+++ b/libpkgconf/stdinc.h
|
|
@@ -33,10 +33,18 @@
|
|
# include <malloc.h>
|
|
# define PATH_DEV_NULL "nul"
|
|
# ifndef ssize_t
|
|
+# ifndef __MINGW32__
|
|
# include <BaseTsd.h>
|
|
+# else
|
|
+# include <basetsd.h>
|
|
+# endif
|
|
# define ssize_t SSIZE_T
|
|
# endif
|
|
-# include "win-dirent.h"
|
|
+# ifndef __MINGW32__
|
|
+# include "win-dirent.h"
|
|
+# else
|
|
+# include <dirent.h>
|
|
+# endif
|
|
#else
|
|
# define PATH_DEV_NULL "/dev/null"
|
|
# include <dirent.h>
|
|
--
|
|
2.4.0
|
|
|