提交 913ab198 编写于 作者: J Jiri Denemark 提交者: Daniel Veillard

Rename DATADIR to PKGDATADIR to fix win32 build

* src/Makefile.am src/cpu/cpu_map.c: rename in Makefile and in the
  cpu map loading code
上级 79fa4a98
......@@ -16,7 +16,7 @@ INCLUDES = \
-DSBINDIR=\""$(sbindir)"\" \
-DSYSCONF_DIR="\"$(sysconfdir)\"" \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
-DDATADIR=\""$(pkgdatadir)"\" \
-DPKGDATADIR=\""$(pkgdatadir)"\" \
-DLOCAL_STATE_DIR=\""$(localstatedir)"\" \
-DGETTEXT_PACKAGE=\"$(PACKAGE)\" \
$(WARN_CFLAGS) \
......
......@@ -30,7 +30,7 @@
#define VIR_FROM_THIS VIR_FROM_CPU
#define CPUMAPFILE DATADIR "/cpu_map.xml"
#define CPUMAPFILE PKGDATADIR "/cpu_map.xml"
static int load(xmlXPathContextPtr ctxt,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册