summaryrefslogtreecommitdiff
path: root/chinese/gcin/files/patch-modules__Makefile
blob: e4192fc04dc4c67f65bbc6e5894e827dd6b98ad7 (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
--- modules/Makefile.orig	2013-10-05 03:31:52 UTC
+++ modules/Makefile
@@ -6,7 +6,7 @@ GCIN_MODULE+=anthy-module.so
 
 ifeq ($(USE_ANTHY),Y)
 GCIN_MODULE+=anthy-module.so
-CFLAGS+=-DGCIN_MODULE=1
+CFLAGS+=-DGCIN_MODULE=1 $(ANTHY_CFLAGS)
 endif
 
 ifeq ($(USE_CHEWING),Y)
@@ -19,7 +19,7 @@ anthy-module.so: $(anthy_module_so)
 
 anthy_module_so = anthy.pico
 anthy-module.so: $(anthy_module_so)
-	$(CCLD) $(SO_FLAGS) -o $@ $(anthy_module_so) $(LDFLAGS) -lanthy
+	$(CCLD) $(SO_FLAGS) -o $@ $(anthy_module_so) $(LDFLAGS) -lanthy-unicode
 
 intcode_module_so = intcode.pico win-int.pico
 intcode-module.so: $(intcode_module_so)
@@ -38,4 +38,4 @@ clean:
 .depend:
 	$(CCX) $(CFLAGS) -MM *.cpp > $@
 
-include .depend
+#include .depend