From 36be5cf6596c43503954f74aefe25b0d5410c8e1 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 22 Mar 2024 20:00:55 +0100 Subject: [PATCH] libluajit dep --- manifest.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/manifest.toml b/manifest.toml index 6913eeb..024816d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -119,11 +119,11 @@ ram.runtime = "50M" "zlib1g-dev", "libgmp-dev", "libjsoncpp-dev", - "libzstd-dev", - "libluajit2-5.1-dev", - "g++", - "libarchive13", - "libjsoncpp25", - "librhash0", - "cmake-data", - "libgmpxx4ldbl"] + "libzstd-dev"] + packages_from_raw_bash = packages_from_raw_bash = """ + if [[ $YNH_DEBIAN_VERSION = "bullseye" ]]; then + echo "libluajit-5.1-dev"; + elif [[ $YNH_DEBIAN_VERSION = "bookworm" ]]; then + echo "libluajit2-5.1-dev"; + fi + """