From d2a06893015a9e2845f9278af9e2ba15f9b37d9d Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周一, 31 8月 2015 17:35:32 +0800
Subject: [PATCH] Fix #44: incorrect handling of empty string

---
 libscpi/Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libscpi/Makefile b/libscpi/Makefile
index 2dc253e..ac3a1c7 100644
--- a/libscpi/Makefile
+++ b/libscpi/Makefile
@@ -2,8 +2,10 @@
 
 CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -g -Iinc
 LDFLAGS += -Wl,--as-needed
-TESTCFLAGS += $(CFLAGS) `pkg-config --cflags cunit`
-TESTLDFLAGS += $(LDFLAGS) `pkg-config --libs cunit`
+#TESTCFLAGS += $(CFLAGS) `pkg-config --cflags cunit`
+#TESTLDFLAGS += $(LDFLAGS) `pkg-config --libs cunit`
+TESTCFLAGS += $(CFLAGS)
+TESTLDFLAGS += $(LDFLAGS) -lcunit
 
 OBJDIR=obj
 DISTDIR=dist

--
Gitblit v1.9.1