Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler.pri1
-rw-r--r--src/mumble.pri2
-rw-r--r--uname.pri10
3 files changed, 11 insertions, 2 deletions
diff --git a/compiler.pri b/compiler.pri
index 8c2d7df11..fadef4881 100644
--- a/compiler.pri
+++ b/compiler.pri
@@ -4,6 +4,7 @@
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
include(qt.pri)
+include(uname.pri)
CONFIG *= warn_on
diff --git a/src/mumble.pri b/src/mumble.pri
index 883139013..b48d02ad7 100644
--- a/src/mumble.pri
+++ b/src/mumble.pri
@@ -42,8 +42,6 @@ win32 {
}
unix {
- UNAME=$$system(uname -s)
-
CONFIG(static) {
PKG_CONFIG = pkg-config --static
}
diff --git a/uname.pri b/uname.pri
new file mode 100644
index 000000000..f686c7f2e
--- /dev/null
+++ b/uname.pri
@@ -0,0 +1,10 @@
+# Copyright 2005-2016 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+UNAME=
+
+unix {
+ UNAME=$$system(uname -s)
+}