mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-21 10:50:24 +03:00
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
This commit is contained in:
parent
79fa4a98d1
commit
913ab198fb
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user