blob: a849d465c7bc7947ae9bb9da2f2fe1a1071c286e [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>
9---
10 contrib/test/Makefile.am | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014index 0188fe2..dac07f3 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015--- a/contrib/test/Makefile.am
16+++ b/contrib/test/Makefile.am
Andrew Geissler97771a32021-03-05 15:23:11 -060017@@ -42,7 +42,7 @@ sdlcam_CFLAGS = -I../.. $(SDL2_CFLAGS)
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018 sdlcam_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019
20 mc_nextgen_test_CFLAGS = $(LIBUDEV_CFLAGS)
21-mc_nextgen_test_LDFLAGS = $(LIBUDEV_LIBS)
22+mc_nextgen_test_LDFLAGS = $(ARGP_LIBS) $(LIBUDEV_LIBS)
23
24
25 ioctl_test_SOURCES = ioctl-test.c ioctl-test.h ioctl_32.h ioctl_64.h
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080026--
272.17.1
28