From 325af5b174c25e9efd65474790e7d3abc288aee3 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Thu, 19 Jun 2014 18:38:38 +0100 Subject: [PATCH] only link with the X-Plane SDK on Windows; Linux and Mac use different means --- src/xbus/xbus.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xbus/xbus.pro b/src/xbus/xbus.pro index 013ac7d00..8a0c2e4f5 100644 --- a/src/xbus/xbus.pro +++ b/src/xbus/xbus.pro @@ -8,8 +8,10 @@ TEMPLATE = lib CONFIG += shared CONFIG += blackmisc blackcore -equals(WORD_SIZE,64): LIBS += -lXPLM_64 -equals(WORD_SIZE,32): LIBS += -lXPLM +win32 { + equals(WORD_SIZE,64): LIBS += -lXPLM_64 + equals(WORD_SIZE,32): LIBS += -lXPLM +} DEPENDPATH += . ../../src INCLUDEPATH += . ../../src