package/zic: bump version to 2015e
[buildroot-gz.git] / package / lua-periphery / 0001-Makefile-don-t-clone-build-c-periphery.patch
blobf6d3f271a64a87063ef011a4fa65e7bebf23eff9
1 From 395bb4cb37612a4ac94346531b13ff0e901ed05e Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 5 May 2015 23:59:17 +0200
4 Subject: [PATCH 1/2] Makefile: don't clone/build c-periphery
6 This patch adjusts lua-periphery Makefile to not clone and build the
7 c-periphery library by itself, and instead use the already available
8 c-periphery library.
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
12 Makefile | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
15 diff --git a/lua-periphery/Makefile b/lua-periphery/Makefile
16 index bed9b32..a4c68eb 100644
17 --- a/lua-periphery/Makefile
18 +++ b/lua-periphery/Makefile
19 @@ -36,8 +36,8 @@ install:
21 ###########################################################################
23 -$(LIB): $(C_PERIPHERY_LIB) $(SRCS)
24 - $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) $(C_PERIPHERY_LIB) -o $@
25 +$(LIB): $(SRCS)
26 + $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -lc-periphery -o $@
28 $(C_PERIPHERY_LIB): $(C_PERIPHERY)/Makefile
29 cd $(C_PERIPHERY); $(MAKE)
30 --
31 2.1.0