Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Dragoș Haiduc
OpenLDAP
Commits
bc705888
Commit
bc705888
authored
24 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Import libtool changes from devel
parent
38a863b5
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
build/ltconfig
+26
-2
26 additions, 2 deletions
build/ltconfig
build/ltmain.sh
+12
-2
12 additions, 2 deletions
build/ltmain.sh
with
38 additions
and
4 deletions
build/ltconfig
+
26
−
2
View file @
bc705888
#! /bin/sh
# $OpenLDAP$
# ltconfig - Create a system-specific libtool.
# Copyright (C) 1996-1999 Free Software Foundation, Inc.
...
...
@@ -169,8 +170,8 @@ progname=`$echo "X$0" | $Xsed -e 's%^.*/%%'`
# Constants:
PROGRAM
=
ltconfig
PACKAGE
=
libtool
VERSION
=
1.3.5
TIMESTAMP
=
" (1.385.2.206 2000/
05/27
1
1
:1
2:27
)"
VERSION
=
1.3.5
+OpenLDAP
TIMESTAMP
=
" (1.385.2.206 2000/
10/02
1
4
:1
8:00
)"
ac_compile
=
'${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link
=
'${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
rm
=
"rm -f"
...
...
@@ -1367,6 +1368,17 @@ else
hardcode_shlibpath_var
=
no
;;
darwin
*
|
rhapsody
*
)
allow_undefined_flag
=
'-undefined warning'
archive_cmds
=
'$CC $(if [ "$module" = "yes" ]; then echo -bundle; else echo -dynamiclib -undefined suppress; fi) -o $lib $libobjs $deplibs $linkopts'
archive_expsym_cmds
=
"
$archive_cmds
"
' && strip -s $export_symbols'
## What we need is to hardcode the path to the library, not the search path
#hardcode_direct=yes
#hardcode_libdir_flag_spec='-install_name $libdir/$lib'
hardcode_shlibpath_var
=
no
whole_archive_flag_spec
=
'-all_load'
;;
hpux9
*
|
hpux10
*
|
hpux11
*
)
case
"
$host_os
"
in
hpux9
*
)
archive_cmds
=
'$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib'
;;
...
...
@@ -1915,6 +1927,18 @@ freebsd*)
esac
;;
darwin
*
|
rhapsody
*
)
deplibs_check_method
=
'file_magic Mach-O dynamically linked shared library'
file_magic_cmd
=
/usr/bin/file
file_magic_test_file
=
`
echo
System/Library/Frameworks/System.framework/Versions/
*
/System |
head
-1
`
library_names_spec
=
'${libname}.$(if [ "$module" = "yes" ]; then echo so; else echo dylib; fi)'
need_lib_prefix
=
no
need_version
=
no
postinstall_cmds
=
'chmod +x $lib'
shlibpath_overrides_runpath
=
yes
shlibpath_var
=
DYLD_LIBRARY_PATH
;;
gnu
*
)
version_type
=
linux
need_lib_prefix
=
no
...
...
This diff is collapsed.
Click to expand it.
build/ltmain.sh
+
12
−
2
View file @
bc705888
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun ltconfig.
#
# $OpenLDAP$
#
# Copyright (C) 1996-1999 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
...
...
@@ -54,8 +56,8 @@ modename="$progname"
# Constants.
PROGRAM
=
ltmain.sh
PACKAGE
=
libtool
VERSION
=
1.3.5
TIMESTAMP
=
" (1.385.2.206 2000/
05/27
1
1
:1
2:27
)"
VERSION
=
1.3.5
+OpenLDAP
TIMESTAMP
=
" (1.385.2.206 2000/
10/02
1
4
:1
8:00
)"
default_mode
=
help
=
"Try
\`
$progname
--help' for more information."
...
...
@@ -1079,6 +1081,10 @@ compiler."
# These systems don't actually have c library (as such)
continue
;;
*
-
*
-rhapsody
*
|
*
-
*
-darwin
*
)
# Darwin C library is in the System framework
deplibs
=
"
$deplibs
-framework System"
;;
esac
elif
test
"
$arg
"
=
"-lm"
;
then
case
"
$host
"
in
...
...
@@ -1086,6 +1092,10 @@ compiler."
# These systems don't actually have math library (as such)
continue
;;
*
-
*
-rhapsody
*
|
*
-
*
-darwin
*
)
# Darwin math library is in the System framework
deplibs
=
"
$deplibs
-framework System"
;;
esac
fi
deplibs
=
"
$deplibs
$arg
"
...
...
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