Add missing library dependency for P3D plugin

Summary:
There were a couple of unresolved symbols when building swift with 64 bit
MSVC. Those are resolved by linking against Advapi32.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D37
This commit is contained in:
Roland Winklmeier
2017-07-14 23:45:57 +02:00
committed by Mathew Sutcliffe
parent c39b8cd7fd
commit 3481949a46

View File

@@ -26,6 +26,7 @@ equals(WORD_SIZE,32) {
LIBS += -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc
equals(WORD_SIZE,64) {
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4
LIBS *= -lAdvapi32
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
else: LIBS *= -lSimConnect
}