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
ecf3aee4
Commit
ecf3aee4
authored
22 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
check for cygwin and if built on that, enable the no-undefined option for
libtool. Otherwise disable it.
parent
7f08cab7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.in
+11
-0
11 additions, 0 deletions
configure.in
lib/Makefile.am
+11
-5
11 additions, 5 deletions
lib/Makefile.am
with
22 additions
and
5 deletions
configure.in
+
11
−
0
View file @
ecf3aee4
...
...
@@ -51,6 +51,17 @@ AC_LIBTOOL_WIN32_DLL
dnl libtool setup
AM_PROG_LIBTOOL
case $host in
cygwin* | mingw* | pw32*)
need_no_undefined=yes
;;
*)
need_no_undefined=no
;;
esac
AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
dnl The install stuff has already been taken care of by the automake stuff
dnl AC_PROG_INSTALL
AC_PROG_MAKE_SET
...
...
This diff is collapsed.
Click to expand it.
lib/Makefile.am
+
11
−
5
View file @
ecf3aee4
...
...
@@ -16,11 +16,7 @@ lib_LTLIBRARIES = libcurl.la
# we use srcdir/lib for the lib-private header files
INCLUDES
=
-I
$(
top_srcdir
)
/include
-I
$(
top_builddir
)
/lib
-I
$(
top_srcdir
)
/lib
# The -no-undefined flag is CRUCIAL for this to build fine on Cygwin. If we
# find a case in which we need to remove this flag, we should most likely
# write a configure check that detects when this flag is needed and when its
# not.
libcurl_la_LDFLAGS
=
-no-undefined
-version-info
2:2:0
VERSION
=
-version-info
2:2:0
# This flag accepts an argument of the form current[:revision[:age]]. So,
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
...
...
@@ -50,6 +46,16 @@ libcurl_la_LDFLAGS = -no-undefined -version-info 2:2:0
# set age to 0.
#
if
NO_UNDEFINED
# The -no-undefined flag is CRUCIAL for this to build fine on Cygwin. If we
# find a case in which we need to remove this flag, we should most likely
# write a configure check that detects when this flag is needed and when its
# not.
libcurl_la_LDFLAGS
=
-no-undefined
$(
VERSION
)
else
libcurl_la_LDFLAGS
=
$(
VERSION
)
endif
libcurl_la_SOURCES
=
arpa_telnet.h file.c getpass.h netrc.h timeval.c
\
base64.c file.h hostip.c progress.c timeval.h base64.h formdata.c
\
hostip.h progress.h cookie.c formdata.h http.c sendf.c cookie.h ftp.c
\
...
...
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