From 117a32c3d4074709ec98202278dddc1ffaeeaaee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abd=C3=B3=20Roig-Maranges?= Date: Sat, 26 Oct 2013 18:11:55 +0200 Subject: [PATCH] pkg-config is not happy with --atleast-version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, It seems that pkg-config complains when using --atleast-version together with --cflags or --libs. I attach a patch. Abdó. From d01e128e7b4c2decb4d3a05e23b9b12cfda62879 Mon Sep 17 00:00:00 2001 From: Abdo Roig-Maranges Date: Sat, 26 Oct 2013 16:51:39 +0200 Subject: [PATCH] pkg-config complains about --atleast-version pkg-config spits out Ignoring incompatible output option "--atleast-version" when using --atleast-version together with --cflags or --libs. Signed-off-by: Sebastian Ramacher --- config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.mk b/config.mk index 07b9ab6..6c1cb8d 100644 --- a/config.mk +++ b/config.mk @@ -52,8 +52,8 @@ GTHREAD_LIB ?= $(shell pkg-config --libs gthread-2.0) GMODULE_INC ?= $(shell pkg-config --cflags gmodule-no-export-2.0) GMODULE_LIB ?= $(shell pkg-config --libs gmodule-no-export-2.0) -GLIB_INC ?= $(shell pkg-config --cflags --atleast-version=2.28 glib-2.0) -GLIB_LIB ?= $(shell pkg-config --libs --atleast-version=2.28 glib-2.0) +GLIB_INC ?= $(shell pkg-config --cflags glib-2.0) +GLIB_LIB ?= $(shell pkg-config --libs glib-2.0) GIRARA_INC ?= $(shell pkg-config --cflags girara-gtk${ZATHURA_GTK_VERSION}) GIRARA_LIB ?= $(shell pkg-config --libs girara-gtk${ZATHURA_GTK_VERSION})