* [iproute PATCH] misc/Makefile: use PKG_CONFIG
@ 2015-11-17 14:08 Aaro Koskinen
2015-11-23 23:26 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Aaro Koskinen @ 2015-11-17 14:08 UTC (permalink / raw)
To: Stephen Hemminger, netdev; +Cc: Aaro Koskinen
Use PKG_CONFIG from Config - it works better when cross-compiling.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
---
misc/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/misc/Makefile b/misc/Makefile
index 389c1b0..f50e740 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -10,8 +10,8 @@ ifeq ($(HAVE_BERKELEY_DB),y)
endif
ifeq ($(HAVE_SELINUX),y)
- LDLIBS += $(shell pkg-config --libs libselinux)
- CFLAGS += $(shell pkg-config --cflags libselinux) -DHAVE_SELINUX
+ LDLIBS += $(shell $(PKG_CONFIG) --libs libselinux)
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libselinux) -DHAVE_SELINUX
endif
ifeq ($(IP_CONFIG_SETNS),y)
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [iproute PATCH] misc/Makefile: use PKG_CONFIG
2015-11-17 14:08 [iproute PATCH] misc/Makefile: use PKG_CONFIG Aaro Koskinen
@ 2015-11-23 23:26 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2015-11-23 23:26 UTC (permalink / raw)
To: Aaro Koskinen; +Cc: netdev
On Tue, 17 Nov 2015 16:08:00 +0200
Aaro Koskinen <aaro.koskinen@nokia.com> wrote:
> Use PKG_CONFIG from Config - it works better when cross-compiling.
>
> Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Looks good, applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-23 23:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17 14:08 [iproute PATCH] misc/Makefile: use PKG_CONFIG Aaro Koskinen
2015-11-23 23:26 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).