Skip to content

Commit

Permalink
fixed mysql include path
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed Nov 29, 2024
1 parent c9d1dfb commit 61170ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/indimail-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 33,7 @@ jobs:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl mysql gsasl; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/9.0.1_4/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/9.0.1_4/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/9.0.1_6/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/9.0.1_6/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl7-dev; fi
if [ "${OS}" = "ubuntu-22.04" ] ; then sudo apt-get install gcc g automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl-dev; fi
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iwebadmin-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ jobs:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl mysql gsasl; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/9.0.1_4/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/9.0.1_4/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/9.0.1_6/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/9.0.1_6/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl7-dev; fi
if [ "${OS}" = "ubuntu-22.04" ] ; then sudo apt-get install gcc g automake autoconf libtool libssl-dev libmysqlclient-dev libncurses5-dev libgsasl-dev; fi
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pam-multi-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 22,7 @@ jobs:
- name: extra_packages
run: |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig openssl mysql; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/9.0.1_4/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/9.0.1_4/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "macos-latest" ] ; then sudo mkdir -p /usr/local/include /usr/local/lib; sudo ln -sf /opt/homebrew/Cellar/mysql/9.0.1_6/include/mysql /usr/local/include/mysql; sudo ln -s /opt/homebrew/Cellar/mysql/9.0.1_6/lib/mysql /usr/local/lib/mysql; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g automake autoconf libtool libpam-modules libpam0g-dev libmysqlclient-dev; fi
env:
OS: ${{ matrix.host }}
Expand Down

0 comments on commit 61170ed

Please sign in to comment.