File: use_system_lua.patch

package info (click to toggle)
pax-britannica 1.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 13,452 kB
  • sloc: ansic: 13,701; makefile: 86; sh: 16
file content (35 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
From: Debian QA Group <packages@qa.debian.org>
Date: Wed, 25 Apr 2018 23:08:26 +0200
Subject: use_system_lua

---
 Makefile                  | 2 +-
 dokidoki-support/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d8f1525..3b44856 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ help:
 $(PLATFORMS):
 	make -C dokidoki-support $@ \
 		NAME="../$(NAME)" \
-		EXTRA_CFLAGS="-DEXTRA_LOADERS=\"../extra_loaders.h\" $(EXTRA_CFLAGS)" \
+		EXTRA_CFLAGS="-I/usr/include/lua5.1 -DEXTRA_LOADERS=\"../extra_loaders.h\" $(EXTRA_CFLAGS)" \
 		EXTRA_OBJECTS="../particles.o"
 
 clean:
diff --git a/dokidoki-support/Makefile b/dokidoki-support/Makefile
index aa40edb..3dd08b1 100644
--- a/dokidoki-support/Makefile
+++ b/dokidoki-support/Makefile
@@ -5,7 +5,7 @@ NAME=dokidoki-support
 TARGET=$(NAME)
 CFLAGS=-Wall -O2 -DMEMARRAY_USE_OPENGL \
 	   $(PLATFORM_CFLAGS) $(EXTRA_CFLAGS)
-LDFLAGS=$(STATIC_LINK) -llua -lglfw \
+LDFLAGS=$(STATIC_LINK) -llua5.1 -lglfw \
 		$(DYNAMIC_LINK) $(PLATFORM_LDFLAGS) $(EXTRA_LDFLAGS)
 CC=gcc