diff mbox

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

Message ID 1350833876-9499-13-git-send-email-diorcet.yann@gmail.com
State Accepted
Headers show

Commit Message

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

---
 recipes/pkg-config/pkg-config.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Esben Haabendal Dec. 14, 2012, 7:39 p.m. UTC | #1
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
diff mbox

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"