Blob Blame History Raw
From c493edcc28bb3aeb725797180ce611f5538154b1 Mon Sep 17 00:00:00 2001
From: Athmane Madjoudj <athmane@fedoraproject.org>
Date: Tue, 29 Aug 2017 23:00:00 +0100
Subject: [PATCH 3/3] Tweak LIBS var as well for system provided iniparse

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index c5bf8c9..c8cd93c 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,7 @@ endif
 
 ifeq ($(SYSTEM_INIPARSER),1)
     CFLAGS += -DUSE_SYSTEM_INIPARSER
+    LIBS += -liniparser
 else
     SRC += src/iniparser/iniparser.c   \
 	   src/iniparser/dictionary.c
-- 
2.13.5