Skip to content

Commit

Permalink
add MySQL LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMKuehne committed Oct 9, 2023
1 parent 2016358 commit e876bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ install_embark_default(){

#install packages
cp ./Pipfile* /var/www/
(cd /var/www && PIPENV_VENV_IN_PROJECT=1 pipenv install)
(cd /var/www && MYSQLCLIENT_LDFLAGS='-L/usr/mysql/lib -lmysqlclient -lssl -lcrypto -lresolv' MYSQLCLIENT_CFLAGS='-I/usr/include/mysql/' PIPENV_VENV_IN_PROJECT=1 pipenv install)


# download externals
Expand Down Expand Up @@ -378,7 +378,7 @@ install_embark_dev(){


#pipenv
PIPENV_VENV_IN_PROJECT=1 pipenv install --dev
MYSQLCLIENT_LDFLAGS='-L/usr/mysql/lib -lmysqlclient -lssl -lcrypto -lresolv' MYSQLCLIENT_CFLAGS='-I/usr/include/mysql/' PIPENV_VENV_IN_PROJECT=1 pipenv install --dev

#Server-Dir
if ! [[ -d media ]]; then
Expand Down

0 comments on commit e876bb9

Please sign in to comment.