diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2013-08-25 15:39:53 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2013-08-25 15:39:53 +0400 |
commit | f62db492bab059f75e4b603180b3b58bac3740bd (patch) | |
tree | b3a147bfe68f1b72798409ed644d2095c3d67420 /plugins | |
parent | 6da29305b8d371f933e5f77fc6de2aa21d4c5ea6 (diff) |
plugins/manual: only link against mumble_app when doing a static win32 build.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/manual/manual.pro | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/plugins/manual/manual.pro b/plugins/manual/manual.pro index 5bc9a7bd7..e44448d3f 100644 --- a/plugins/manual/manual.pro +++ b/plugins/manual/manual.pro @@ -14,12 +14,16 @@ HEADERS = manual.h SOURCES = manual.cpp FORMS += manual.ui -CONFIG(debug, debug|release) { - LIBPATH *= ../../debug -} +# Link against mumble_app.dll when +# building for win32-static. +win32:CONFIG(static) { + CONFIG(debug, debug|release) { + LIBPATH *= ../../debug + } -CONFIG(release, debug|release) { - LIBPATH *= ../../release -} + CONFIG(release, debug|release) { + LIBPATH *= ../../release + } -LIBS *= -lmumble_app + LIBS *= -lmumble_app +} |