mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
683b43b996
This avoids unnecessarily embedding dllexport directives in all the object files. This also fixes building with clang in MSVC mode, as the MSVC definition of XSLTPUBVAR in xsltexports.h is lacking 'extern' when doing dllexport. (This probably used to work before compilers defaulted to -fcommon.) This fixes duplicate symbols like these: lld-link: error: duplicate symbol: xsltGenericError >>> defined at ../src/libs/xslt/libxslt/xsltutils.h:140 >>> libxslt.cross.a(documents.cross.o) >>> defined at ../src/libs/xslt/libxslt/xsltutils.h:140 >>> libxslt.cross.a(extensions.cross.o) Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
23 lines
495 B
Makefile
23 lines
495 B
Makefile
EXTLIB = libxslt.a
|
|
EXTRAINCL = $(XML2_PE_CFLAGS) $(XSLT_PE_CFLAGS)
|
|
|
|
C_SRCS = \
|
|
libxslt/attributes.c \
|
|
libxslt/attrvt.c \
|
|
libxslt/documents.c \
|
|
libxslt/extensions.c \
|
|
libxslt/extra.c \
|
|
libxslt/functions.c \
|
|
libxslt/imports.c \
|
|
libxslt/keys.c \
|
|
libxslt/namespaces.c \
|
|
libxslt/numbers.c \
|
|
libxslt/pattern.c \
|
|
libxslt/preproc.c \
|
|
libxslt/security.c \
|
|
libxslt/templates.c \
|
|
libxslt/transform.c \
|
|
libxslt/variables.c \
|
|
libxslt/xslt.c \
|
|
libxslt/xsltlocale.c \
|
|
libxslt/xsltutils.c
|