View | Details | Raw Unified | Return to bug 48461
Collapse All | Expand All

(-)texinfo-7.0.3/tp/Texinfo/XS/Makefile.am (-4 / +8 lines)
Lines 53-59 Link Here
53
53
54
xs_LTLIBRARIES += MiscXS.la
54
xs_LTLIBRARIES += MiscXS.la
55
MiscXS_la_SOURCES = MiscXS.c misc.c miscxs.h ppport.h
55
MiscXS_la_SOURCES = MiscXS.c misc.c miscxs.h ppport.h
56
MiscXS_la_LIBADD = $(builddir)/gnulib/lib/libgnu.la
57
56
58
57
59
# TestXS.la has to be included in xs_LIBRARIES, and not noinst_LIBRARIES, 
58
# TestXS.la has to be included in xs_LIBRARIES, and not noinst_LIBRARIES, 
Lines 70-87 Link Here
70
AM_CFLAGS += -I$(PERL_INC)
69
AM_CFLAGS += -I$(PERL_INC)
71
70
72
if HOST_NEEDS_NO_UNDEFINED
71
if HOST_NEEDS_NO_UNDEFINED
73
  PLATFORM_LDFLAGS = -no-undefined -L$(PERL_INC) $(PERL_CONF_libperl)
72
  PLATFORM_LDFLAGS = -no-undefined -L$(PERL_INC)
73
  PLATFORM_LIBADD = $(PERL_CONF_libperl)
74
  # The -no-undefined flag is for MS-Windows.  See info node
74
  # The -no-undefined flag is for MS-Windows.  See info node
75
  # `(gnulib)Libtool and Windows'.  The -L and -l options after it show
75
  # `(gnulib)Libtool and Windows'.  The -L and -l options after it show
76
  # where to find the undefined symbols.
76
  # where to find the undefined symbols.
77
else
77
else
78
  PLATFORM_LDFLAGS =
78
  PLATFORM_LDFLAGS =
79
  PLATFORM_LIBADD =
79
endif
80
endif
80
81
81
AM_LDFLAGS = -avoid-version -module $(PERL_CONF_ccdlflags)
82
AM_LDFLAGS = -avoid-version -module $(PERL_CONF_ccdlflags)
82
AM_LDFLAGS += $(PLATFORM_LDFLAGS)
83
AM_LDFLAGS += $(PLATFORM_LDFLAGS)
83
84
84
XSParagraph_la_LIBADD = $(builddir)/gnulib/lib/libgnu.la
85
MiscXS_la_LIBADD = $(builddir)/gnulib/lib/libgnu.la $(PLATFORM_LIBADD)
86
MiscXS_la_LDFLAGS = $(AM_LDFLAGS)
87
88
XSParagraph_la_LIBADD = $(builddir)/gnulib/lib/libgnu.la $(PLATFORM_LIBADD)
85
XSParagraph_la_LDFLAGS = $(AM_LDFLAGS) $(LTLIBINTL) $(LTLIBICONV)
89
XSParagraph_la_LDFLAGS = $(AM_LDFLAGS) $(LTLIBINTL) $(LTLIBICONV)
86
90
87
91
Lines 145-151 Link Here
145
149
146
EXTRA_DIST += $(p)/Parsetexi.xs
150
EXTRA_DIST += $(p)/Parsetexi.xs
147
151
148
Parsetexi_la_LIBADD = $(top_builddir)/gnulib/lib/libgnu.la
152
Parsetexi_la_LIBADD = $(top_builddir)/gnulib/lib/libgnu.la $(PLATFORM_LIBADD)
149
Parsetexi_la_LDFLAGS = $(AM_LDFLAGS) $(LTLIBINTL) $(LTLIBICONV)
153
Parsetexi_la_LDFLAGS = $(AM_LDFLAGS) $(LTLIBINTL) $(LTLIBICONV)
150
154
151
# To locate include files under out-of-source builds.
155
# To locate include files under out-of-source builds.

Return to bug 48461