summaryrefslogtreecommitdiff
blob: 0aba7fdd09807b2787d1efab783440b92fb64550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
diff -urP Python-2.0.orig/Makefile.in Python-2.0/Makefile.in
--- Python-2.0.orig/Makefile.in	Mon Oct 16 17:50:06 2000
+++ Python-2.0/Makefile.in	Wed Jul 11 20:03:34 2001
@@ -73,11 +73,11 @@
 SCRIPTDIR=	$(prefix)/lib
 
 # Detailed destination directories
-BINLIBDEST=	$(LIBDIR)/python$(VERSION)
-LIBDEST=	$(SCRIPTDIR)/python$(VERSION)
-INCLUDEPY=	$(INCLUDEDIR)/python$(VERSION)
-CONFINCLUDEPY=	$(CONFINCLUDEDIR)/python$(VERSION)
-LIBP=		$(LIBDIR)/python$(VERSION)
+BINLIBDEST=	$(LIBDIR)/spython$(VERSION)
+LIBDEST=	$(SCRIPTDIR)/spython$(VERSION)
+INCLUDEPY=	$(INCLUDEDIR)/spython$(VERSION)
+CONFINCLUDEPY=	$(CONFINCLUDEDIR)/spython$(VERSION)
+LIBP=		$(LIBDIR)/spython$(VERSION)
 
 # Symbols used for using shared libraries
 SO=		@SO@
@@ -129,14 +129,14 @@
 # Compilation flags for getbuildinfo.c only
 CFLAGS=		$(OPT) -I. $(DEFS)
 
-LIBRARY=	libpython$(VERSION).a
+LIBRARY=	libspython$(VERSION).a
 LDLIBRARY=      @LDLIBRARY@
 
 # Default target
-all:		$(LIBRARY) python$(EXE) sharedmods
+all:		$(LIBRARY) spython$(EXE) sharedmods
 
 # Build the interpreter
-python$(EXE):		$(LIBRARY) buildno Modules/python.o
+spython$(EXE):		$(LIBRARY) buildno Modules/python.o
 		expr `cat buildno` + 1 >buildno1
 		mv -f buildno1 buildno
 		$(CC) -c $(CFLAGS) -DBUILD=`cat buildno` \
@@ -155,7 +155,7 @@
 		echo 0 >buildno
 
 # Build the shared modules
-sharedmods: 	python$(EXE)
+sharedmods: 	spython$(EXE)
 		cd Modules;  $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
 			prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
 			sharedmods
@@ -169,7 +169,7 @@
 			(cd $$i; $(MAKE) VERSION="$(VERSION)" add2lib); done
 
 # This rule is only here for DG/UX and BeOS!!!
-libpython$(VERSION).so:	$(LIBRARY)
+libspython$(VERSION).so:	$(LIBRARY)
 		case `uname -s | tr -d '/ ' | tr '[A-Z]' '[a-z]'` in \
 		*dgux*) \
 		    test -d dgux || mkdir dgux; \
@@ -182,7 +182,7 @@
 		esac
 
 # This rule is here for OPENSTEP/Rhapsody/MacOSX
-libpython$(VERSION).dylib: $(LIBRARY)
+libspython$(VERSION).dylib: $(LIBRARY)
 		libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) -framework System @LIBTOOL_CRUFT@ 
 
 $(SUBDIRS):	Makefiles
@@ -210,7 +210,7 @@
 # Test the interpreter (twice, once without .pyc files, once with)
 TESTOPTS=	-l
 TESTPROG=	$(srcdir)/Lib/test/regrtest.py
-TESTPYTHON=	./python$(EXE) -tt
+TESTPYTHON=	./spython$(EXE) -tt
 test:		all
 		-rm -f $(srcdir)/Lib/test/*.py[co]
 		-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
@@ -224,15 +224,15 @@
 
 # Install the interpreter (by creating a hard link to python$(VERSION))
 bininstall:	altbininstall
-		-if test -f $(BINDIR)/python$(EXE); \
-		then rm -f $(BINDIR)/python$(EXE); \
+		-if test -f $(BINDIR)/spython$(EXE); \
+		then rm -f $(BINDIR)/spython$(EXE); \
 		else true; \
 		fi
-		(cd $(BINDIR); $(LN) python$(VERSION)$(EXE) python$(EXE))
+		(cd $(BINDIR); $(LN) spython$(VERSION)$(EXE) spython$(EXE))
 
 # Install the interpreter with $(VERSION) affixed
 # This goes into $(exec_prefix)
-altbininstall:	python$(EXE)
+altbininstall:	spython$(EXE)
 		@for i in $(BINDIR); \
 		do \
 			if test ! -d $$i; then \
@@ -242,9 +242,9 @@
 			else	true; \
 			fi; \
 		done
-		$(INSTALL_PROGRAM) python$(EXE) $(BINDIR)/python$(VERSION)$(EXE)
-		if test -f libpython$(VERSION).so; then \
-			$(INSTALL_DATA) libpython$(VERSION).so $(LIBDIR); \
+		$(INSTALL_PROGRAM) spython$(EXE) $(BINDIR)/spython$(VERSION)$(EXE)
+		if test -f libspython$(VERSION).so; then \
+			$(INSTALL_DATA) libspython$(VERSION).so $(LIBDIR)/libspython$(VERSION).so; \
 		else	true; \
 		fi
 
@@ -260,7 +260,7 @@
 			fi; \
 		done
 		$(INSTALL_DATA) $(srcdir)/Misc/python.man \
-			$(MANDIR)/man1/python.1
+			$(MANDIR)/man1/spython.1
 
 # Install the library
 PLATDIR=	plat-$(MACHDEP)
@@ -268,7 +268,7 @@
 XMLLIBSUBDIRS=  xml xml/dom xml/parsers xml/sax
 LIBSUBDIRS=	lib-old lib-tk site-packages test test/output encodings \
 		distutils distutils/command $(XMLLIBSUBDIRS) curses $(MACHDEPS)
-libinstall:	python $(srcdir)/Lib/$(PLATDIR)
+libinstall:	spython $(srcdir)/Lib/$(PLATDIR)
 		@for i in $(SCRIPTDIR) $(LIBDEST); \
 		do \
 			if test ! -d $$i; then \
@@ -326,9 +326,9 @@
 		done
 		$(INSTALL_DATA) $(srcdir)/LICENSE $(LIBDEST)/LICENSE.txt
 		PYTHONPATH=$(LIBDEST) \
-			./python$(EXE) -tt $(LIBDEST)/compileall.py $(LIBDEST)
+			./spython$(EXE) -tt $(LIBDEST)/compileall.py $(LIBDEST)
 		PYTHONPATH=$(LIBDEST) \
-			./python$(EXE) -O $(LIBDEST)/compileall.py $(LIBDEST)
+			./spython$(EXE) -O $(LIBDEST)/compileall.py $(LIBDEST)
 
 # Create the PLATDIR source directory, if one wasn't distributed..
 $(srcdir)/Lib/$(PLATDIR):
@@ -457,7 +457,7 @@
 		else $(SHELL) $(srcdir)/configure $(WITH); \
 		fi
 
-.PRECIOUS:	config.status python$(EXE)
+.PRECIOUS:	config.status spython$(EXE)
 
 # Rerun configure with the same options as it was run last time,
 # provided the config.status script exists
@@ -509,7 +509,7 @@
 		done
 
 localclobber:	localclean
-		-rm -f tags TAGS python$(EXE) $(LIBRARY) $(LDLIBRARY) *.o
+		-rm -f tags TAGS spython$(EXE) $(LIBRARY) $(LDLIBRARY) *.o
 		-rm -f config.log config.cache config.h
 
 clobber:	localclobber
diff -urP Python-2.0.orig/Misc/python.man Python-2.0/Misc/python.man
--- Python-2.0.orig/Misc/python.man	Mon Oct 16 17:49:35 2000
+++ Python-2.0/Misc/python.man	Wed Jul 11 20:26:32 2001
@@ -1,8 +1,8 @@
-.TH PYTHON "1" "5 September, 2000"
+.TH SPYTHON "1" "5 September, 2000"
 .SH NAME
-python \- an interpreted, interactive, object-oriented programming language
+spython \- an interpreted, interactive, object-oriented programming language (statically linked)
 .SH SYNOPSIS
-.B python
+.B spython
 [
 .B \-d
 ]
@@ -179,20 +179,20 @@
 conventions; ${prefix} and ${exec_prefix} are installation-dependent
 and should be interpreted as for GNU software; they may be the same.
 The default for both is \fI/usr/local\fP.
-.IP \fI${exec_prefix}/bin/python\fP
+.IP \fI${exec_prefix}/bin/spython\fP
 Recommended location of the interpreter.
 .PP
-.I ${prefix}/lib/python<version>
+.I ${prefix}/lib/spython<version>
 .br
-.I ${exec_prefix}/lib/python<version>
+.I ${exec_prefix}/lib/spython<version>
 .RS
 Recommended locations of the directories containing the standard
 modules.
 .RE
 .PP
-.I ${prefix}/include/python<version>
+.I ${prefix}/include/spython<version>
 .br
-.I ${exec_prefix}/include/python<version>
+.I ${exec_prefix}/include/spython<version>
 .RS
 Recommended locations of the directories containing the include files
 needed for developing Python extensions and embedding the
@@ -204,8 +204,8 @@
 .SH ENVIRONMENT VARIABLES
 .IP PYTHONHOME
 Change the location of the standard Python libraries.  By default, the
-libraries are searched in ${prefix}/lib/python<version> and
-${exec_prefix}/lib/python<version>, where ${prefix} and ${exec_prefix}
+libraries are searched in ${prefix}/lib/spython<version> and
+${exec_prefix}/lib/spython<version>, where ${prefix} and ${exec_prefix}
 are installation-dependent directories, both defaulting to
 \fI/usr/local\fP.  When $PYTHONHOME is set to a single directory, its value
 replaces both ${prefix} and ${exec_prefix}.  To specify different values
@@ -216,7 +216,7 @@
 pathnames separated by colons.
 Non-existant directories are silently ignored.
 The default search path is installation dependent, but generally
-begins with ${prefix}/lib/python<version> (see PYTHONHOME above).
+begins with ${prefix}/lib/spython<version> (see PYTHONHOME above).
 The default search path is always appended to $PYTHONPATH.
 If a script argument is given, the directory containing the script is
 inserted in the path in front of $PYTHONPATH.
diff -urP Python-2.0.orig/Modules/Makefile.pre.in Python-2.0/Modules/Makefile.pre.in
--- Python-2.0.orig/Modules/Makefile.pre.in	Mon Oct 16 17:49:33 2000
+++ Python-2.0/Modules/Makefile.pre.in	Wed Jul 11 19:43:14 2001
@@ -52,10 +52,10 @@
 SCRIPTDIR=	$(prefix)/lib
 
 # Detailed destination directories
-BINLIBDEST=	$(LIBDIR)/python$(VERSION)
-LIBDEST=	$(SCRIPTDIR)/python$(VERSION)
-INCLUDEPY=	$(INCLUDEDIR)/python$(VERSION)
-LIBP=		$(LIBDIR)/python$(VERSION)
+BINLIBDEST=	$(LIBDIR)/spython$(VERSION)
+LIBDEST=	$(SCRIPTDIR)/spython$(VERSION)
+INCLUDEPY=	$(INCLUDEDIR)/spython$(VERSION)
+LIBP=		$(LIBDIR)/spython$(VERSION)
 
 # Symbols used for using shared libraries
 SO=		@SO@
@@ -103,7 +103,7 @@
 
 SYSLIBS=	$(LIBM) $(LIBC)
 
-LIBRARY=	../libpython$(VERSION).a
+LIBRARY=	../libspython$(VERSION).a
 LDLIBRARY=	../@LDLIBRARY@
 
 # === Rules ===
@@ -124,11 +124,11 @@
 # This target is used by the master Makefile to link the final binary.
 link:		$(MAINOBJ)
 		$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \
-		  $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python$(EXE) $(LDLAST)
-		mv python$(EXE) ../python$(EXE)
+		  $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o spython$(EXE) $(LDLAST)
+		mv spython$(EXE) ../spython$(EXE)
 
 clean:
-		-rm -f *.o python$(EXE) core *~ [@,#]* *.old *.orig *.rej
+		-rm -f *.o spython$(EXE) core *~ [@,#]* *.old *.orig *.rej
 		-rm -f add2lib hassignal
 
 clobber:	clean
@@ -183,10 +183,10 @@
 		$(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
 					sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
 
-.PRECIOUS:	../python$(EXE)
+.PRECIOUS:	../spython$(EXE)
 
 glmodule.c:	$(srcdir)/cgen.py $(srcdir)/cstubs
-		python $(srcdir)/cgen.py <$(srcdir)/cstubs >glmodule.c
+		spython $(srcdir)/cgen.py <$(srcdir)/cstubs >glmodule.c
 
 almodule.o: almodule.c
 arraymodule.o: arraymodule.c
diff -urP Python-2.0.orig/Modules/getpath.c Python-2.0/Modules/getpath.c
--- Python-2.0.orig/Modules/getpath.c	Mon Oct 16 17:49:33 2000
+++ Python-2.0/Modules/getpath.c	Wed Jul 11 19:41:18 2001
@@ -115,8 +115,8 @@
 
 #ifndef PYTHONPATH
 /* I know this isn't K&R C, but the Makefile specifies it anyway */
-#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \
-	      EXEC_PREFIX "/lib/python" VERSION "/lib-dynload"
+#define PYTHONPATH PREFIX "/lib/spython" VERSION ":" \
+	      EXEC_PREFIX "/lib/spython" VERSION "/lib-dynload"
 #endif
 
 #ifndef LANDMARK
@@ -127,7 +127,7 @@
 static char exec_prefix[MAXPATHLEN+1];
 static char progpath[MAXPATHLEN+1];
 static char *module_search_path = NULL;
-static char lib_python[] = "lib/python" VERSION;
+static char lib_python[] = "lib/spython" VERSION;
 
 static void
 reduce(char *dir)
diff -urP Python-2.0.orig/Objects/Makefile.in Python-2.0/Objects/Makefile.in
--- Python-2.0.orig/Objects/Makefile.in	Mon Oct 16 17:49:24 2000
+++ Python-2.0/Objects/Makefile.in	Wed Jul 11 19:37:39 2001
@@ -48,7 +48,7 @@
 		tupleobject.c typeobject.c \
 		unicodeobject.c unicodectype.c
 
-LIBRARY=	../libpython$(VERSION).a
+LIBRARY=	../libspython$(VERSION).a
 
 # === Rules ===
 
diff -urP Python-2.0.orig/Parser/Makefile.in Python-2.0/Parser/Makefile.in
--- Python-2.0.orig/Parser/Makefile.in	Mon Oct 16 17:49:29 2000
+++ Python-2.0/Parser/Makefile.in	Wed Jul 11 19:29:23 2001
@@ -48,7 +48,7 @@
 
 PGEN=		pgen
 
-LIBRARY=	../libpython$(VERSION).a
+LIBRARY=	../libspython$(VERSION).a
 
 # === Rules ===
 
diff -urP Python-2.0.orig/Parser/intrcheck.c Python-2.0/Parser/intrcheck.c
--- Python-2.0.orig/Parser/intrcheck.c	Mon Oct 16 17:49:30 2000
+++ Python-2.0/Parser/intrcheck.c	Wed Jul 11 19:31:05 2001
@@ -132,7 +132,7 @@
 {
 	extern void Py_Exit(int);
 	static char message[] =
-"python: to interrupt a truly hanging Python program, interrupt once more.\n";
+"spython: to interrupt a truly hanging Python program, interrupt once more.\n";
 	switch (interrupted++) {
 	case 0:
 		break;
diff -urP Python-2.0.orig/Python/Makefile.in Python-2.0/Python/Makefile.in
--- Python-2.0.orig/Python/Makefile.in	Mon Oct 16 17:49:29 2000
+++ Python-2.0/Python/Makefile.in	Wed Jul 11 19:29:55 2001
@@ -51,7 +51,7 @@
 		$(LIBOBJS)
 OBJS=		$(AROBJS) sigcheck.o
 
-LIBRARY=	../libpython$(VERSION).a
+LIBRARY=	../libspython$(VERSION).a
 
 
 # === Rules ===
diff -urP Python-2.0.orig/Python/dynload_aix.c Python-2.0/Python/dynload_aix.c
--- Python-2.0.orig/Python/dynload_aix.c	Mon Oct 16 17:49:29 2000
+++ Python-2.0/Python/dynload_aix.c	Wed Jul 11 19:32:35 2001
@@ -69,7 +69,7 @@
 	prevmodptr = NULL;
 	do {
 		if (strstr(progname, ldiptr->ldinfo_filename) == NULL &&
-		    strstr(ldiptr->ldinfo_filename, "python") == NULL) {
+		    strstr(ldiptr->ldinfo_filename, "spython") == NULL) {
 			/*
 			-- Extract only the modules belonging to the main
 			-- executable + those containing "python" as a
diff -urP Python-2.0.orig/Python/dynload_win.c Python-2.0/Python/dynload_win.c
--- Python-2.0.orig/Python/dynload_win.c	Mon Oct 16 17:49:29 2000
+++ Python-2.0/Python/dynload_win.c	Wed Jul 11 19:33:00 2001
@@ -124,7 +124,7 @@
 		while (DWORD_AT(import_data)) {
 			import_name = dllbase + DWORD_AT(import_data+12);
 			if (strlen(import_name) >= 6 &&
-			    !strncmp(import_name,"python",6)) {
+			    !strncmp(import_name,"spython",6)) {
 				char *pch;
 
 				/* Ensure python prefix is followed only
@@ -228,7 +228,7 @@
 		} else {
 			char buffer[256];
 
-			sprintf(buffer,"python%d%d.dll",
+			sprintf(buffer,"spython%d%d.dll",
 				PY_MAJOR_VERSION,PY_MINOR_VERSION);
 			import_python = GetPythonImport(hDLL);
 
diff -urP Python-2.0.orig/Python/pythonrun.c Python-2.0/Python/pythonrun.c
--- Python-2.0.orig/Python/pythonrun.c	Mon Oct 16 17:49:29 2000
+++ Python-2.0/Python/pythonrun.c	Wed Jul 11 19:49:19 2001
@@ -360,7 +360,7 @@
 	PyInterpreterState_Delete(interp);
 }
 
-static char *progname = "python";
+static char *progname = "spython";
 
 void
 Py_SetProgramName(char *pn)
@@ -375,7 +375,7 @@
 	return progname;
 }
 
-static char *default_home = NULL;
+static char *default_home = "/usr";
 
 void
 Py_SetPythonHome(char *home)
@@ -568,7 +568,7 @@
 		if (closeit)
 			fclose(fp);
 		if( (fp = fopen(filename, "rb")) == NULL ) {
-			fprintf(stderr, "python: Can't reopen .pyc file\n");
+			fprintf(stderr, "spython: Can't reopen .pyc file\n");
 			return -1;
 		}
 		/* Turn on optimization if a .pyo file is given */
diff -urP Python-2.0.orig/Python/thread_beos.h Python-2.0/Python/thread_beos.h
--- Python-2.0.orig/Python/thread_beos.h	Mon Oct 16 17:49:29 2000
+++ Python-2.0/Python/thread_beos.h	Wed Jul 11 19:31:39 2001
@@ -123,7 +123,7 @@
 
 	/* We are so very thread-safe... */
 	this_thread = atomic_add( &thread_count, 1 );
-	sprintf( name, "python thread (%d)", this_thread );
+	sprintf( name, "spython thread (%d)", this_thread );
 
 	tid = spawn_thread( (thread_func)func, name,
 	                    B_NORMAL_PRIORITY, arg );
@@ -222,7 +222,7 @@
 	}
 
 	this_lock = atomic_add( &lock_count, 1 );
-	sprintf( name, "python lock (%d)", this_lock );
+	sprintf( name, "spython lock (%d)", this_lock );
 
 	retval = benaphore_create( name, lock );
 	if( retval != EOK ) {
@@ -298,7 +298,7 @@
 	
 	dprintf(("PyThread_allocate_sema called\n"));
 
-	sema = create_sem( value, "python semaphore" );
+	sema = create_sem( value, "spython semaphore" );
 	if( sema < B_NO_ERROR ) {
 		/* TODO: that's bad, raise an exception */
 		return 0;
diff -urP Python-2.0.orig/configure.in Python-2.0/configure.in
--- Python-2.0.orig/configure.in	Mon Oct 16 17:50:06 2000
+++ Python-2.0/configure.in	Wed Jul 11 19:26:15 2001
@@ -251,17 +251,17 @@
 # a bundle using libtool.
 if test "$with_next_framework"
 then
-  LDLIBRARY='libpython$(VERSION).dylib'
+  LDLIBRARY='libspython$(VERSION).dylib'
 fi  
 
 # DG/UX requires some fancy ld contortions to produce a .so from an .a
 case $MACHDEP in
 dguxR4)
-      LDLIBRARY='libpython$(VERSION).so'
+      LDLIBRARY='libspython$(VERSION).so'
       OPT="$OPT -pic"
       ;;
 beos*)
-      LDLIBRARY='libpython$(VERSION).so'
+      LDLIBRARY='libspython$(VERSION).so'
       ;;
 esac
 AC_MSG_RESULT($LDLIBRARY)
@@ -269,7 +269,7 @@
 # If LDLIBRARY is different from LIBRARY, emit a rule to build it.
 if test -z "$LDLIBRARY"
 then
-  LDLIBRARY='libpython$(VERSION).a'
+  LDLIBRARY='libspython$(VERSION).a'
   MAKE_LDLIBRARY="true"
 else
   MAKE_LDLIBRARY='$(MAKE) $(LDLIBRARY)'
@@ -558,7 +558,7 @@
 then
 	case $ac_sys_system/$ac_sys_release in
 	AIX*) LDSHARED="\$(srcdir)/ld_so_aix \$(CC)";;
-	BeOS*) LDSHARED="\$(srcdir)/../BeOS/linkmodule -L.. -lpython\$(VERSION)";;
+	BeOS*) LDSHARED="\$(srcdir)/../BeOS/linkmodule -L.. -lspython\$(VERSION)";;
 	IRIX/5*) LDSHARED="ld -shared";;
 	IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
 	SunOS/4*) LDSHARED="ld";;