summaryrefslogtreecommitdiff
path: root/devel/janet-lsp/files/patch-project.janet
blob: 90c646d2579ef0f13eb2d76730fe7be09dd05ea1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- project.janet.orig	2025-09-05 00:00:02 UTC
+++ project.janet
@@ -7,16 +7,17 @@
                  "https://github.com/ianthehenry/judge.git"
                  "https://github.com/CFiggers/cmd.git"])
 
-# (def cflags
-#   (case (os/which)
-#     :windows []
-#     ["-s"]))
+(def cflags
+  (case (os/which)
+    :windows []
+    :freebsd []
+    ["-s"]))
 
-# (declare-executable
-#   :name "janet-lsp"
-#   :entry "src/main.janet"
-#   :cflags cflags
-#   :install true)
+(declare-executable
+  :name "janet-lsp"
+  :entry "src/main.janet"
+  :cflags cflags
+  :install true)
 
 (declare-archive
   :name "janet-lsp"