aboutsummaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/meegotouch_defines.prf.in20
1 files changed, 10 insertions, 10 deletions
diff --git a/mkspecs/features/meegotouch_defines.prf.in b/mkspecs/features/meegotouch_defines.prf.in
index af8e84b9..b6387e78 100644
--- a/mkspecs/features/meegotouch_defines.prf.in
+++ b/mkspecs/features/meegotouch_defines.prf.in
@@ -111,17 +111,17 @@ win32 {
defineReplace(mAddLibrary) {
LIBRARY_NAME = $$1
+ win32 {
+ CONFIG(debug, debug|release) {
+ return ("-l"$${LIBRARY_NAME}d$${M_MAJOR_VERSION})
+ } else {
+ return ("-l"$${LIBRARY_NAME}$${M_MAJOR_VERSION})
+ }
+ }
macx {
- QMAKE_LFLAGS *= -F $$M_BUILD_TREE/lib
- return (-framework $$LIBRARY_NAME)
- } else {
- win32 {
- CONFIG(debug, debug|release) {
- return ("-l"$${LIBRARY_NAME}d$${M_MAJOR_VERSION})
- } else {
- return ("-l"$${LIBRARY_NAME}$${M_MAJOR_VERSION})
- }
+ CONFIG(debug, debug|release) {
+ return ("-l"$${LIBRARY_NAME}_debug)
}
- return (-l$$LIBRARY_NAME)
}
+ return (-l$$LIBRARY_NAME)
}