Blame SOURCES/0001-RHEL-7.x-popt-doesn-t-have-popt.pc-work-around-its-a.patch

a9d5a1
From 77604f4e9ca646f1b8234b5d223fb4c8e786c512 Mon Sep 17 00:00:00 2001
a9d5a1
From: Peter Jones <pjones@redhat.com>
a9d5a1
Date: Mon, 13 Mar 2017 15:33:54 -0400
a9d5a1
Subject: [PATCH 1/2] RHEL 7.x popt doesn't have popt.pc, work around its
a9d5a1
 absense.
a9d5a1
a9d5a1
Related: rhbz#1380825
a9d5a1
a9d5a1
Signed-off-by: Peter Jones <pjones@redhat.com>
a9d5a1
---
a9d5a1
 src/Makefile | 10 +++++++---
a9d5a1
 1 file changed, 7 insertions(+), 3 deletions(-)
a9d5a1
a9d5a1
diff --git a/src/Makefile b/src/Makefile
a9d5a1
index 258bac1c04a..453ddadfca2 100644
a9d5a1
--- a/src/Makefile
a9d5a1
+++ b/src/Makefile
a9d5a1
@@ -21,15 +21,19 @@ ALL_SOURCES=$(EFIBOOTMGR_SOURCES)
a9d5a1
 
a9d5a1
 efibootmgr : $(call objects-of,$(EFIBOOTMGR_SOURCES))
a9d5a1
 efibootmgr : PKGS=efivar efiboot
a9d5a1
+efibootmgr : LIBS=popt
a9d5a1
 
a9d5a1
 eficonman : $(call objects-of,$(EFICONMAN_SOURCES))
a9d5a1
-eficonman : PKGS=efivar efiboot popt
a9d5a1
+eficonman : PKGS=efivar efiboot
a9d5a1
+eficonman : LIBS=popt
a9d5a1
 
a9d5a1
 efibootdump : $(call objects-of,$(EFIBOOTDUMP_SOURCES))
a9d5a1
-efibootdump : PKGS=efivar efiboot popt
a9d5a1
+efibootdump : PKGS=efivar efiboot
a9d5a1
+efibootdump : LIBS=popt
a9d5a1
 
a9d5a1
 efibootnext : $(call objects-of,$(EFIBOOTNEXT_SOURCES))
a9d5a1
-efibootnext : PKGS=efivar efiboot popt
a9d5a1
+efibootnext : PKGS=efivar efiboot
a9d5a1
+efibootnext : LIBS=popt
a9d5a1
 
a9d5a1
 deps : $(ALL_SOURCES)
a9d5a1
 	$(MAKE) -f $(TOPDIR)/Make.deps deps SOURCES="$(ALL_SOURCES)" SUBDIR_CFLAGS="$(SUBDIR_CFLAGS)"
a9d5a1
-- 
a9d5a1
2.17.1
a9d5a1