Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
4825009e
Commit
4825009e
authored
Oct 26, 2015
by
Kamil Dudka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: fix broken linkage with --disable-static
parent
01c4916a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
configure.ac
configure.ac
+3
-0
tests/Makefile.am
tests/Makefile.am
+9
-1
No files found.
configure.ac
View file @
4825009e
...
...
@@ -695,6 +695,9 @@ if test "x$threads" != "xyes" ||
AC_DEFINE([NOTHREADS], [1], [Define to 1 if you want to disable threads.])
fi
# propagate $enable_static to tests/Makefile.am
AM_CONDITIONAL([ENABLE_STATIC], [test "x$enable_static" = "xyes"])
AC_SUBST([TESTLDADD])
AC_SUBST([APPLDFLAGS])
...
...
tests/Makefile.am
View file @
4825009e
...
...
@@ -49,7 +49,15 @@ HFILES = nghttp2_pq_test.h nghttp2_map_test.h nghttp2_queue_test.h \
main_SOURCES
=
$(HFILES)
$(OBJECTS)
main_LDADD
=
${top_builddir}
/lib/libnghttp2.la @CUNIT_LIBS@ @TESTLDADD@
if
ENABLE_STATIC
main_LDADD
=
${top_builddir}
/lib/libnghttp2.la
else
# With static lib disabled and symbol hiding enabled, we have to link object
# files directly because the tests use symbols not included in public API.
main_LDADD
=
${top_builddir}
/lib/.libs/
*
.o
endif
main_LDADD
+=
@CUNIT_LIBS@ @TESTLDADD@
main_LDFLAGS
=
-static
if
ENABLE_FAILMALLOC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment