mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-16 03:50:43 +08:00
16 lines
730 B
Plaintext
16 lines
730 B
Plaintext
*shared*
|
|
# Only one line should be uncommented.
|
|
# Adjust -L and -I as necessary for your local configuration.
|
|
# I find that 3.23 requires libz. It probably won't hurt earlier versions.
|
|
_mysql _mysqlmodule.c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lz
|
|
|
|
# If you have dynamic MySQL libraries, they will need to be on your
|
|
# LD_LIBRARY_PATH at runtime. But you are probably better off linking
|
|
# against the static mysqlclient library. If the above line doesn't work
|
|
# for you (it works for me with the standard MySQL RPMs), try this:
|
|
#_mysql _mysqlmodule.c -I/usr/include/mysql /usr/lib/mysql/libmysqlclient.a -lz
|
|
|
|
# Uncomment for Windows
|
|
#_mysql _mysqlmodule.c -L/mysql/lib/opt -I/mysql/include -lmysqlclient -lwsock32
|
|
|