aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/Makefile
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-04-11 14:14:12 +0100
committerIan Jackson <ian.jackson@eu.citrix.com>2012-04-11 14:14:12 +0100
commit361145d1e38e9ea99fe29b025ef38e6caeb16fd2 (patch)
tree59ec6a32116b6d11408c2718f630e08eb79726d4 /tools/libxl/Makefile
parent90b969c2ede4bd5ba3722d0f2a71a77d8380bf80 (diff)
downloadxen-361145d1e38e9ea99fe29b025ef38e6caeb16fd2.tar.gz
xen-361145d1e38e9ea99fe29b025ef38e6caeb16fd2.tar.bz2
xen-361145d1e38e9ea99fe29b025ef38e6caeb16fd2.zip
libxl: Use PTHREAD_CFLAGS, LDFLAGS, LIBS
This is going to be needed for pthread_atfork. It is a mystery why it hasn't been needed before. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/Makefile')
-rw-r--r--tools/libxl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile
index 748d0571f2..b0143e60cc 100644
--- a/tools/libxl/Makefile
+++ b/tools/libxl/Makefile
@@ -22,6 +22,10 @@ endif
LIBXL_LIBS =
LIBXL_LIBS = $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore) $(LDLIBS_libblktapctl) $(UTIL_LIBS) $(LIBUUID_LIBS)
+CFLAGS += $(PTHREAD_CFLAGS)
+LDFLAGS += $(PTHREAD_LDFLAGS)
+LIBXL_LIBS += $(PTHREAD_LIBS)
+
LIBXLU_LIBS =
LIBXL_OBJS-y = osdeps.o libxl_paths.o libxl_bootloader.o flexarray.o