From: Bastian Germann <bage@debian.org>
Date: Sat, 30 Oct 2021 10:51:22 +0200
Forwarded: https://github.com/pymupdf/PyMuPDF/pull/1356
Subject: Link shared library with additional libs

---
 setup.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 1f0520d..a25569a 100644
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,9 @@ OPENSUSE = ARCH_LINUX + [
 FEDORA = ARCH_LINUX + [
     "harfbuzz",
 ]
-NIX = ARCH_LINUX + ["harfbuzz"]
+DEBIAN = OPENSUSE + [
+    "mujs",
+]
 LIBRARIES = {
     "default": DEFAULT,
     "ubuntu": DEFAULT,
@@ -54,7 +56,8 @@ LIBRARIES = {
     "opensuse": OPENSUSE,
     "fedora": FEDORA,
     "alpine": ALPINE,
-    "nix": NIX,
+    "nix": FEDORA,
+    "debian": DEBIAN,
 }
 
 
