[X2Go-Commits] [x2goclient] 07/12: x2goclient.pro: use different parameters for MXE builds.

git-admin at x2go.org git-admin at x2go.org
Thu Dec 1 21:54:47 CET 2022


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 8eb96d998569439914f703eb61aa01a051e0958b
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Thu Dec 1 20:54:45 2022 +0100

    x2goclient.pro: use different parameters for MXE builds.
---
 debian/changelog | 1 +
 x2goclient.pro   | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 234b64b..082288b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -214,6 +214,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium
      - /: drop Maemo support, remove x2goclient.pro.maemo.
      - /: add README.mxe, describing MXE builds.
      - /: add handle_mxe.sh, MXE control script.
+     - x2goclient.pro: use different parameters for MXE builds.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 13 Feb 2020 12:31:20 +0100
 
diff --git a/x2goclient.pro b/x2goclient.pro
index f52fe6e..6174371 100644
--- a/x2goclient.pro
+++ b/x2goclient.pro
@@ -158,6 +158,8 @@ unix {
 }
 else:win32 {
   mxe {
+    QMAKE_CXXFLAGS += -DLIBSSH_STATIC=1
+    LIBS += -lssh -lgcrypt -lgpg-error
   }
   else {
     # pkgconfig is... tricky on Windows. Additionally, libssh 0.7.x stopped
@@ -283,5 +285,6 @@ win32-* {
 greaterThan(QT_MAJOR_VERSION, 4): QT += winextras
 }
 
+mxe:QMAKE_CXXFLAGS += -std=c++11 -Wno-deprecated-declarations
 QMAKE_CXXFLAGS_DEBUG -= -g
 QMAKE_CXXFLAGS_DEBUG += -O2 -g3 -ggdb3 -gdwarf-4

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list