We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa7053 commit fdace64Copy full SHA for fdace64
README.md
@@ -66,6 +66,20 @@ Then you can install mysqlclient via pip now:
66
$ pip install mysqlclient
67
```
68
69
+### Customize build (POSIX)
70
+
71
+mysqlclient uses `mysql_config` or `mariadb_config` by default for finding
72
+compiler/linker flags.
73
74
+You can use `MYSQLCLIENT_CFLAGS` and `MYSQLCLIENT_LDFLAGS` environment
75
+variables to customize compiler/linker options.
76
77
+```
78
+$ export MYSQLCLIENT_CFLAGS=`pkg-config mysqlclient --cflags`
79
+$ export MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`
80
+$ pip install mysqlclient
81
82
83
### Documentation
84
85
Documentation is hosted on [Read The Docs](https://mysqlclient.readthedocs.io/)
0 commit comments