Cleanup of build process of the py-MySQL port. Previously port used

custom Makefile for this purpose, which led to resulting module
being bloated (~600K) by linking all Python code from libpython1.5
into it. With this patch the module will use standard Python's way
to build supplemental modules, which should generally be cleaner.
Other good sideeffect is that after this patch resulting module
is only 20K in size.

PR:		ports/17893
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
This commit is contained in:
Vanilla I. Shu
2000-04-23 16:24:06 +00:00
parent fee3f0b4b8
commit 8ee05fcbde
2 changed files with 11 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
*shared*
MySQL MySQLmodule.c -I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib/mysql -lmysqlclient