Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
b24e8725
Commit
b24e8725
authored
14 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
build: don't build libhostname unless shared libcurl is built
parent
50a1d5ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+7
-0
7 additions, 0 deletions
configure.ac
tests/libtest/Makefile.am
+4
-0
4 additions, 0 deletions
tests/libtest/Makefile.am
with
11 additions
and
0 deletions
configure.ac
+
7
−
0
View file @
b24e8725
...
...
@@ -2461,6 +2461,13 @@ AM_CONDITIONAL(USE_MANUAL, test x"$USE_MANUAL" = x1)
CURL_CHECK_LIB_ARES
AM_CONDITIONAL(USE_EMBEDDED_ARES, test x$embedded_ares = xyes)
if test "x$enable_shared" = "xyes"; then
build_libhostname=yes
else
build_libhostname=no
fi
AM_CONDITIONAL(BUILD_LIBHOSTNAME, test x$tests_use_libhostname = xyes)
CURL_CHECK_OPTION_THREADED_RESOLVER
if test "x$want_thres" = xyes && test "x$want_ares" = xyes; then
...
...
This diff is collapsed.
Click to expand it.
tests/libtest/Makefile.am
+
4
−
0
View file @
b24e8725
...
...
@@ -64,7 +64,11 @@ include Makefile.inc
# Preloading of libhostname allows host name overriding,
# this is used to make some tests machine independent.
if
BUILD_LIBHOSTNAME
noinst_LTLIBRARIES
=
libhostname.la
else
noinst_LTLIBRARIES
=
endif
if
NO_UNDEFINED
# The -no-undefined flag is crucial to build fine on some platforms
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment