Patchwork [13/16] pkg-config: rework for osx and mingw32

login
register
mail settings
Submitter Yann Diorcet
Date Oct. 21, 2012, 3:37 p.m.
Message ID <1350833876-9499-13-git-send-email-diorcet.yann@gmail.com>
Download mbox | patch
Permalink /patch/193036/
State Accepted
Headers show

Comments

Yann Diorcet - Oct. 21, 2012, 3:37 p.m.
From: Yann Diorcet <yann.diorcet@belledonne-communications.com>

---
 recipes/pkg-config/pkg-config.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Esben Haabendal - Dec. 14, 2012, 7:39 p.m.
Yann Diorcet <diorcet.yann@gmail.com> writes:

> From: Yann Diorcet <yann.diorcet@belledonne-communications.com>
>
> ---
>  recipes/pkg-config/pkg-config.inc |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/recipes/pkg-config/pkg-config.inc b/recipes/pkg-config/pkg-config.inc
> index 038cbca..0e9c206 100644
> --- a/recipes/pkg-config/pkg-config.inc
> +++ b/recipes/pkg-config/pkg-config.inc
> @@ -9,7 +9,8 @@ RECIPE_TYPES = "machine native sdk"
>  
>  inherit autotools-autoreconf pkgconfig
>  
> -DEPENDS = "libdl libpthread libglib"
> +DEPENDS = "libdl libglib"
> +DEPENDS:>TARGET_OS_linux-gnu = " libpthread"
>  
>  SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz"

Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/pkg-config/pkg-config.inc b/recipes/pkg-config/pkg-config.inc
index 038cbca..0e9c206 100644
--- a/recipes/pkg-config/pkg-config.inc
+++ b/recipes/pkg-config/pkg-config.inc
@@ -9,7 +9,8 @@  RECIPE_TYPES = "machine native sdk"
 
 inherit autotools-autoreconf pkgconfig
 
-DEPENDS = "libdl libpthread libglib"
+DEPENDS = "libdl libglib"
+DEPENDS:>TARGET_OS_linux-gnu = " libpthread"
 
 SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz"