Snapcraft: Fix --with-libevent-dir to work with both Github Actions and snapcraft.io CI

This commit is contained in:
Micah Lee 2022-10-07 16:03:22 -07:00
parent 6c6c6bc62d
commit 1d59695189
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -178,7 +178,7 @@ parts:
source-type: tar
plugin: autotools
autotools-configure-parameters:
- "--with-libevent-dir=$SNAPCRAFT_PROJECT_DIR/../parts/libevent/install/usr/local"
- "--with-libevent-dir=$SNAPCRAFT_PART_INSTALL/../../libevent/install/usr/local"
build-packages:
- libssl-dev
- zlib1g-dev