Skip to content

Commit baecf94

Browse files
committed
Fix for mysqlclient dependencies
1 parent 8f1e577 commit baecf94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cross/syncstorage-rs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ CARGO_BUILD_ARGS += --locked
2424
DEPENDS = cross/openssl3
2525
# for mysqlclient
2626
DEPENDS += cross/mysql-connector-c
27+
ENV += MYSQLCLIENT_CFLAGS="$(CFLAGS) -I$(STAGING_INSTALL_PREFIX)/include/mysql -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR)"
28+
ENV += MYSQLCLIENT_LDFLAGS="$(LDFLAGS)"
2729

2830
# To find libpython in prebuilt or local built python
2931
ifneq ($(PYTHON_STAGING_PREFIX),)

0 commit comments

Comments
 (0)