Skip to content

Instantly share code, notes, and snippets.

@knok
Created June 10, 2020 05:33
Show Gist options
  • Save knok/f14a347e2a407a96a44c4f13f2d4284e to your computer and use it in GitHub Desktop.
Save knok/f14a347e2a407a96a44c4f13f2d4284e to your computer and use it in GitHub Desktop.
mozc-config linux build
diff --git a/Makefile b/Makefile
index c8b7257..01950be 100644
--- a/Makefile
+++ b/Makefile
@@ -8,15 +8,15 @@ CXX = g++
RM = rm -f
INSTALL = /usr/bin/install
-MOZC_SRC = ..
+MOZC_SRC = ../mozc-2.23.2815.102+dfsg/src
-CFLAGS =
+CFLAGS = -DOS_LINUX
LDFLAGS =
-INCS = -I$(MOZC_SRC) \
- -I$(MOZC_SRC)/out/Release/obj/gen \
- -I$(MOZC_SRC)/out/Release/obj/gen/proto_out
+INCS = -I$(MOZC_SRC) \
+ -I$(MOZC_SRC)/out_linux/Release/gen \
+ -I$(MOZC_SRC)/out_linux/Release/gen/proto_out
MOZC_CONF = mozc-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment