Skip to content

Commit 089cc2e

Browse files
committed
build-sys: ensure we link against libiconv when necessary
Signed-off-by: Fabian Groffen <[email protected]>
1 parent af8bc2d commit 089cc2e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile.am

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ html2text_SOURCES = \
4242
sgml.h \
4343
table.cpp \
4444
$(NULL)
45+
html2text_LDADD = \
46+
$(LIBICONV) \
47+
$(NULL)
4548

4649
BUILT_SOURCES = HTMLParser.hh
4750
man1_MANS = html2text.1

Makefile.in

+6-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ am_html2text_OBJECTS = Area.$(OBJEXT) cmp_nocase.$(OBJEXT) \
123123
iconvstream.$(OBJEXT) Properties.$(OBJEXT) sgml.$(OBJEXT) \
124124
table.$(OBJEXT)
125125
html2text_OBJECTS = $(am_html2text_OBJECTS)
126-
html2text_LDADD = $(LDADD)
126+
am__DEPENDENCIES_1 =
127+
html2text_DEPENDENCIES = $(am__DEPENDENCIES_1)
127128
AM_V_P = $(am__v_P_@AM_V@)
128129
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
129130
am__v_P_0 = false
@@ -398,6 +399,10 @@ html2text_SOURCES = \
398399
table.cpp \
399400
$(NULL)
400401

402+
html2text_LDADD = \
403+
$(LIBICONV) \
404+
$(NULL)
405+
401406
BUILT_SOURCES = HTMLParser.hh
402407
man1_MANS = html2text.1
403408
man5_MANS = html2textrc.5

0 commit comments

Comments
 (0)