Skip to content

Commit

Permalink
Use extra-lib-dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
lazamar committed Dec 2, 2024
1 parent a7e814b commit 1c257f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
cabal-version: ${{ matrix.cabal }}
cabal-update: true


- name: Install system dependencies - Linux
if: runner.os == 'Linux'
run: |
Expand All @@ -56,8 +55,8 @@ jobs:
sudo apt-get install libpcre3-dev
sudo apt-get install libmysqlclient-dev
sudo apt-get install libmysqlclient21
echo $LIBMYSQL_PLUGIN_DIR
sudo ln -s /opt/hostedtoolcache/mysql/9.0.1/x64/lib/libmysqlclient.so.24 /usr/lib/libmysqlclient.so.24
# The LIBMYSQL_PLUGIN_DIR is variable added by the actions-setup-mysql
cabal user-config -a "extra-lib-dirs: $(dirname $LIBMYSQL_PLUGIN_DIR)" -f init
- name: Build - Configure
run: |
Expand Down

0 comments on commit 1c257f5

Please sign in to comment.