mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:59:06 +08:00
6eb35f5af3
* [xcb-render-util] add port * [libxkbfile] add port * [libxkbcommon] add port * v db * Apply suggestions from code review Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * v db Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
29 lines
1017 B
Diff
29 lines
1017 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 803abe77b..7d694e401 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -11,6 +11,7 @@ AM_MAINTAINER_MODE
|
|
XCB_UTIL_COMMON([1.4], [1.6])
|
|
|
|
PKG_CHECK_MODULES(XCB_RENDER, xcb-render)
|
|
+PKG_CHECK_MODULES(PTHREAD_STUBS, pthread-stubs)
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
renderutil/Makefile
|
|
diff --git a/renderutil/Makefile.am b/renderutil/Makefile.am
|
|
index 3a5179884..d403aa34a 100644
|
|
--- a/renderutil/Makefile.am
|
|
+++ b/renderutil/Makefile.am
|
|
@@ -4,9 +4,9 @@ lib_LTLIBRARIES = libxcb-render-util.la
|
|
xcbinclude_HEADERS = xcb_renderutil.h
|
|
|
|
AM_CFLAGS = $(BASE_CFLAGS)
|
|
-AM_CPPFLAGS = $(XCB_CFLAGS) $(XCB_RENDER_CFLAGS)
|
|
+AM_CPPFLAGS = $(XCB_CFLAGS) $(XCB_RENDER_CFLAGS) ${PTHREAD_STUBS_CFLAGS}
|
|
libxcb_render_util_la_SOURCES = cache.c util.c glyph.c
|
|
-libxcb_render_util_la_LIBADD = $(XCB_LIBS) $(XCB_RENDER_LIBS)
|
|
+libxcb_render_util_la_LIBADD = $(XCB_LIBS) $(XCB_RENDER_LIBS) ${PTHREAD_STUBS_LIBS}
|
|
libxcb_render_util_la_LDFLAGS = -no-undefined
|
|
|
|
pkgconfig_DATA = xcb-renderutil.pc
|