From 6f425042466eab9cb634667005216ec3363a47c5 Mon Sep 17 00:00:00 2001
From: xarkes <antide.petit@gmail.com>
Date: Fri, 1 Sep 2017 10:45:09 +0200
Subject: [PATCH] Fix build on linux

---
 .gitmodules         | 1 -
 src/lib_radare2.pri | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 1f026b0e..b943753d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,4 +4,3 @@
 [submodule "radare2"]
 	path = radare2
 	url = https://github.com/radare/radare2
-	branch = 902ce266e50ef40fc4018afe8a487e5437aad94d
diff --git a/src/lib_radare2.pri b/src/lib_radare2.pri
index 6f344b37..9d101387 100644
--- a/src/lib_radare2.pri
+++ b/src/lib_radare2.pri
@@ -50,7 +50,7 @@ win32 {
 
     DEFINES += _CRT_NONSTDC_NO_DEPRECATE
     DEFINES += _CRT_SECURE_NO_WARNINGS
-    USE_PKGCONFIG {
+    equals(USE_PKGCONFIG, 1) {
         CONFIG += link_pkgconfig
         PKGCONFIG += r_core
     } else {