blob: a779a307d7d3286cd9ec623b9742438694715cf6 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 49f865a17d62db7bbd333a9b83fadeea55686e35 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 13:17:19 -0700
Brad Bishop316dfdd2018-06-25 12:45:53 -04004Subject: [PATCH] contrib/test: Link mc_nextgen_test with libargp if needed
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6musl depends on external argp implementation e.g.
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -04009
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010---
11 contrib/test/Makefile.am | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am
15index 4641e21..e47b948 100644
16--- a/contrib/test/Makefile.am
17+++ b/contrib/test/Makefile.am
18@@ -32,7 +32,7 @@ v4l2gl_LDFLAGS = $(X11_LIBS) $(GL_LIBS) $(GLU_LIBS) $(ARGP_LIBS)
19 v4l2gl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la
20
21 mc_nextgen_test_CFLAGS = $(LIBUDEV_CFLAGS)
22-mc_nextgen_test_LDFLAGS = $(LIBUDEV_LIBS)
23+mc_nextgen_test_LDFLAGS = $(ARGP_LIBS) $(LIBUDEV_LIBS)
24
25
26 ioctl_test_SOURCES = ioctl-test.c ioctl-test.h ioctl_32.h ioctl_64.h