Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4e9da47d
Commit
4e9da47d
authored
13 years ago
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Plain Diff
merge 11347.
parents
37c02c96
48e14d3f
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
623 additions
and
534 deletions
+623
-534
Makefile.pre.in
Makefile.pre.in
+2
-1
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+607
-533
configure.in
configure.in
+12
-0
No files found.
Makefile.pre.in
View file @
4e9da47d
...
...
@@ -75,6 +75,7 @@ PY_CFLAGS= $(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) $(EXTRA_CFLAGS)
# environment variables
PY_CPPFLAGS
=
-I
.
-IInclude
-I
$(srcdir)
/Include
$(CONFIGURE_CPPFLAGS)
$(CPPFLAGS)
PY_LDFLAGS
=
$(CONFIGURE_LDFLAGS)
$(LDFLAGS)
NO_AS_NEEDED
=
@NO_AS_NEEDED@
LDLAST
=
@LDLAST@
SGI_ABI
=
@SGI_ABI@
CCSHARED
=
@CCSHARED@
...
...
@@ -459,7 +460,7 @@ libpython$(LDVERSION).so: $(LIBRARY_OBJS)
fi
libpython3.so
:
libpython$(LDVERSION).so
$(BLDSHARED)
-o
$@
-Wl
,-hl
$@
$^
$(BLDSHARED)
$(NO_AS_NEEDED)
-o
$@
-Wl
,-h
$@
$^
libpython$(LDVERSION).dylib
:
$(LIBRARY_OBJS)
$(CC)
-dynamiclib
-Wl
,-single_module
$(PY_LDFLAGS)
-undefined
dynamic_lookup
-Wl
,-install_name,
$(prefix)
/lib/libpython
$(LDVERSION)
.dylib
-Wl
,-compatibility_version,
$(VERSION)
-Wl
,-current_version,
$(VERSION)
-o
$@
$(LIBRARY_OBJS)
$(SHLIBS)
$(LIBC)
$(LIBM)
$(LDLAST)
;
\
...
...
This diff is collapsed.
Click to expand it.
Misc/NEWS
View file @
4e9da47d
...
...
@@ -578,6 +578,8 @@ Library
Build
-----
- Issue #11347: Use --as-needed when linking libpython3.so.
- Issue #11411: Fix '
make
DESTDIR
=
' with a relative destination.
- Issue #11268: Prevent Mac OS X Installer failure if Documentation
...
...
This diff is collapsed.
Click to expand it.
configure
View file @
4e9da47d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
configure.in
View file @
4e9da47d
...
...
@@ -518,6 +518,18 @@ then
fi
AC_MSG_CHECKING([for -Wl,--no-as-needed])
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
[NO_AS_NEEDED="-Wl,--no-as-needed"
AC_MSG_RESULT([yes])],
[NO_AS_NEEDED=""
AC_MSG_RESULT([no])])
LDFLAGS="$save_LDFLAGS"
AC_SUBST(NO_AS_NEEDED)
# checks for UNIX variants that set C preprocessor variables
AC_USE_SYSTEM_EXTENSIONS
...
...
This diff is collapsed.
Click to expand it.
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