Skip to content

Commit

Permalink
Merge pull request #159 from BenediktMKuehne/62-specify-mysqlclient_c…
Browse files Browse the repository at this point in the history
…flags-and-mysqlclient_ldflags

add MySQL LDFLAGS
  • Loading branch information
HoxhaEndri authored Oct 9, 2023
2 parents 81ab830 + 9b9ae63 commit abbcf10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ 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
if ! [[ -d ./embark/static/external ]]; then
Expand Down Expand Up @@ -395,7 +395,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 abbcf10

Please sign in to comment.