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
1f740167
Commit
1f740167
authored
Apr 13, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support for OpenBSD :-(
parent
3ad125e6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Python/importdl.c
Python/importdl.c
+1
-1
configure
configure
+3
-3
configure.in
configure.in
+2
-2
No files found.
Python/importdl.c
View file @
1f740167
...
...
@@ -211,7 +211,7 @@ typedef void (*dl_funcptr)();
extern
char
*
Py_GetProgramName
();
#ifndef FUNCNAME_PATTERN
#if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__BORLANDC__)
#if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__
OpenBSD__) || defined(__
BORLANDC__)
#define FUNCNAME_PATTERN "_init%.200s"
#else
#define FUNCNAME_PATTERN "init%.200s"
...
...
configure
View file @
1f740167
#! /bin/sh
# From configure.in Revision: 1.8
2
# From configure.in Revision: 1.8
3
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12
...
...
@@ -1843,7 +1843,7 @@ then
next/
*
)
LDSHARED
=
'$(CC) $(CFLAGS) -nostdlib -r'
;;
Linux
*
)
LDSHARED
=
"gcc -shared"
;;
dgux
*
)
LDSHARED
=
"ld -G"
;;
FreeBSD
*
|
NetBSD
*
)
LDSHARED
=
"ld -Bshareable"
;;
FreeBSD
*
|
NetBSD
*
|
OpenBSD
*
)
LDSHARED
=
"ld -Bshareable"
;;
SCO_SV
*
)
LDSHARED
=
"cc -G -KPIC -Ki486 -belf -Wl,-Bexport"
;;
*
)
LDSHARED
=
"ld"
;;
esac
...
...
@@ -1861,7 +1861,7 @@ then
else
CCSHARED
=
"+z"
;
fi
;;
Linux
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
|
NetBSD
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
|
NetBSD
*
|
OpenBSD
*
)
CCSHARED
=
"-fpic"
;;
SCO_SV
*
)
CCSHARED
=
"-KPIC -dy -Bdynamic"
;;
IRIX
*
/6
*
)
case
$CC
in
*
gcc
*
)
CCSHARED
=
"-shared"
;;
...
...
configure.in
View file @
1f740167
...
...
@@ -293,7 +293,7 @@ then
next/*) LDSHARED='$(CC) $(CFLAGS) -nostdlib -r';;
Linux*) LDSHARED="gcc -shared";;
dgux*) LDSHARED="ld -G";;
FreeBSD*|NetBSD*) LDSHARED="ld -Bshareable";;
FreeBSD*|NetBSD*
|OpenBSD*
) LDSHARED="ld -Bshareable";;
SCO_SV*) LDSHARED="cc -G -KPIC -Ki486 -belf -Wl,-Bexport";;
*) LDSHARED="ld";;
esac
...
...
@@ -310,7 +310,7 @@ then
else CCSHARED="+z";
fi;;
Linux*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*
|OpenBSD*
) CCSHARED="-fpic";;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
IRIX*/6*) case $CC in
*gcc*) CCSHARED="-shared";;
...
...
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