Skip to content

Commit

Permalink
Amend fix for mysqlclient dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Dec 1, 2023
1 parent baecf94 commit 0926673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cross/syncstorage-rs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ CARGO_BUILD_ARGS += --locked
DEPENDS = cross/openssl3
# for mysqlclient
DEPENDS += cross/mysql-connector-c
ENV += MYSQLCLIENT_CFLAGS="$(CFLAGS) -I$(STAGING_INSTALL_PREFIX)/include/mysql -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR)"
ENV += MYSQLCLIENT_LDFLAGS="$(LDFLAGS)"

# To find libpython in prebuilt or local built python
ifneq ($(PYTHON_STAGING_PREFIX),)
Expand Down
4 changes: 4 additions & 0 deletions spk/ffsync/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ ADMIN_PORT = $(SERVICE_PORT)

CONF_DIR = src/conf/

# [mysqlclient]
ENV += MYSQLCLIENT_CFLAGS="$(CFLAGS) -I$(STAGING_INSTALL_PREFIX)/include/mysql -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR)"
ENV += MYSQLCLIENT_LDFLAGS="$(LDFLAGS)"

POST_STRIP_TARGET = ffsync_extra_install

include ../../mk/spksrc.python.mk
Expand Down

0 comments on commit 0926673

Please sign in to comment.