aboutsummaryrefslogtreecommitdiff
path: root/graphics/jbig2dec/files/patch-Makefile.in
blob: 7eaca1b3943ec653e52a64b6f1c1f4b3ec817f10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile.in.orig	2020-09-10 16:29:31 UTC
+++ Makefile.in
@@ -611,18 +611,19 @@ libjbig2dec_la_SOURCES = jbig2.c \
 	jbig2_generic.h jbig2_symbol_dict.h jbig2_text.h \
 	memento.c memento.h
 
-jbig2dec_SOURCES = jbig2dec.c sha1.c sha1.h \
-	jbig2.h jbig2_image.h getopt.h \
+jbig2dec_SOURCES = jbig2dec.c sha1.c \
+	jbig2.h jbig2_image.h \
 	os_types.h config_types.h config_win32.h
 
-jbig2dec_LDADD = libjbig2dec.la @LIBOBJS@ $(PNG_LIBS)
+jbig2dec_LDADD = libjbig2dec.la @LIBOBJS@ $(PNG_LIBS) -lmd
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = jbig2dec.pc
 dist_man_MANS = jbig2dec.1
 EXTRA_DIST = test_jbig2dec.py msvc.mak LICENSE CHANGES
 MAINTAINERCLEANFILES = config_types.h.in
-test_sha1_SOURCES = sha1.c sha1.h
+test_sha1_SOURCES = sha1.c
 test_sha1_CFLAGS = -DTEST
+test_sha1_LDADD = -lmd
 test_arith_SOURCES = jbig2_arith.c
 test_arith_CFLAGS = -DTEST
 test_arith_LDADD = libjbig2dec.la