Autotools: Give test suite access to internal symbols
This commit is contained in:
parent
ad0aec0651
commit
f01a61402c
@ -34,17 +34,25 @@ include_HEADERS = \
|
|||||||
expat_external.h
|
expat_external.h
|
||||||
|
|
||||||
lib_LTLIBRARIES = libexpat.la
|
lib_LTLIBRARIES = libexpat.la
|
||||||
|
noinst_LTLIBRARIES = libexpatinternal.la
|
||||||
|
|
||||||
libexpat_la_LDFLAGS = \
|
libexpat_la_LDFLAGS = \
|
||||||
@AM_LDFLAGS@ \
|
@AM_LDFLAGS@ \
|
||||||
-no-undefined \
|
-no-undefined \
|
||||||
-version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
|
-version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
|
||||||
|
|
||||||
libexpat_la_SOURCES = \
|
libexpat_la_SOURCES =
|
||||||
|
|
||||||
|
# This layer of indirection allows
|
||||||
|
# the test suite to access internal symbols
|
||||||
|
# despite compiling with -fvisibility=hidden
|
||||||
|
libexpatinternal_la_SOURCES = \
|
||||||
xmlparse.c \
|
xmlparse.c \
|
||||||
xmltok.c \
|
xmltok.c \
|
||||||
xmlrole.c
|
xmlrole.c
|
||||||
|
|
||||||
|
libexpat_la_LIBADD = libexpatinternal.la
|
||||||
|
|
||||||
doc_DATA = \
|
doc_DATA = \
|
||||||
../AUTHORS \
|
../AUTHORS \
|
||||||
../Changes
|
../Changes
|
||||||
|
@ -52,8 +52,8 @@ runtests_SOURCES = \
|
|||||||
runtestspp_SOURCES = \
|
runtestspp_SOURCES = \
|
||||||
runtestspp.cpp
|
runtestspp.cpp
|
||||||
|
|
||||||
runtests_LDADD = libruntests.a ../lib/libexpat.la
|
runtests_LDADD = libruntests.a ../lib/libexpatinternal.la
|
||||||
runtestspp_LDADD = libruntests.a ../lib/libexpat.la
|
runtestspp_LDADD = libruntests.a ../lib/libexpatinternal.la
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
chardata.h \
|
chardata.h \
|
||||||
|
Loading…
Reference in New Issue
Block a user