diff --git a/scripts/install b/scripts/install index 5300875..4dcf6f6 100755 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_add_nginx_config ynh_script_progression --message="Compiling guacd..." --weight=30 pushd "$install_dir/.guacd-src" - ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" + LDFLAGS="-lrt" ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" ynh_exec_warn_less make ynh_exec_warn_less make install popd diff --git a/scripts/upgrade b/scripts/upgrade index 0351fe0..31f0a36 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,7 +91,7 @@ fi ynh_script_progression --message="Compiling guacd..." --weight=30 pushd "$install_dir/.guacd-src" - ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" + LDFLAGS="-lrt" ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" ynh_exec_warn_less make ynh_exec_warn_less make install popd