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 28f483fac9
commit c9f83dbda7

View file

@ -178,7 +178,7 @@ parts:
source-type: tar source-type: tar
plugin: autotools plugin: autotools
autotools-configure-parameters: 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: build-packages:
- libssl-dev - libssl-dev
- zlib1g-dev - zlib1g-dev