[PATCH] Use most xcb libraries statically
Wald Commits
scm-commit at wald.intevation.org
Wed Jul 30 18:48:19 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1406738859 -7200
# Node ID e4cf249ba1a65fecab65bb509ed806ed727322e7
# Parent adf7481291a4c1ad7803d7bc0839944050bf77cf
Use most xcb libraries statically
diff -r adf7481291a4 -r e4cf249ba1a6 INSTALL
--- a/INSTALL Wed Jul 30 17:41:52 2014 +0200
+++ b/INSTALL Wed Jul 30 18:47:39 2014 +0200
@@ -33,7 +33,7 @@
-release -nomake tests -nomake examples -confirm-license \
-static -no-cups -no-nis -no-icu -fontconfig \
-no-directfb -no-opengl -no-kms -no-eglfs -no-egl -no-openssl -no-glib \
- -system-libpng -qpa xcb -xcb -no-nis -no-libjpeg -no-gif && \
+ -system-libpng -qpa xcb -qt-xcb -no-nis -no-libjpeg -no-gif && \
nice make -j8 && \
make install
diff -r adf7481291a4 -r e4cf249ba1a6 ui/CMakeLists.txt
--- a/ui/CMakeLists.txt Wed Jul 30 17:41:52 2014 +0200
+++ b/ui/CMakeLists.txt Wed Jul 30 18:47:39 2014 +0200
@@ -80,9 +80,9 @@
set(XCB_EXTRA_LIBS
-L${_qtpath}
- -lX11 -lX11-xcb -lXi -lxcb-render-util -lXrender -lSM -lICE -lxcb-render -ldbus-1
- -lxcb -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr
- ${XKBCOMMON_LIB} -lxcb-shape -lxcb-keysyms -lQt5PlatformSupport
+
+ -lX11 -lX11-xcb -lxcb -lxcb-static -lXi -lXrender -lSM -lICE -ldbus-1
+ ${XKBCOMMON_LIB} -lQt5PlatformSupport
-lfreetype -lQt5DBus -lQt5Gui -ljpeg -lpng -lQt5Core
-lz -lm -ldl -lrt -lpthread -lfontconfig)
More information about the Trustbridge-commits
mailing list