summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorkb <k.blammo@gmail.com>2012-05-13 22:55:15 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-14 21:34:08 +0200
commitcff6e39cd1aea203751113124f6d05d4198cabcd (patch)
tree73fd285531afe725ac5d552a3c47d1735e811316 /src/network
parent9bd24b6edc7c15dffe382e226c782b394b40c632 (diff)
Remove capitalization when specifying include-libraries.
MinGW installations on case-sensitive filesystems expect lowercase names of include-libraries and (usually) include files. When crosscompiling on Debian 6 (targeting MS Windows) linking fails because mingw is looking for non-existent include-libraries. Using lowercase names solves this. Change-Id: Id3454f4ed8ba42b6ea93d65d9c0ce567db6712df Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qauthenticator.cpp2
-rw-r--r--src/network/socket/qlocalserver_win.cpp6
-rw-r--r--src/network/socket/socket.pri2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp
index afefdb7a99..c1df4571d3 100644
--- a/src/network/kernel/qauthenticator.cpp
+++ b/src/network/kernel/qauthenticator.cpp
@@ -56,7 +56,7 @@
#include <private/qmutexpool_p.h>
#include <rpc.h>
#define SECURITY_WIN32 1
-#include <Security.h>
+#include <security.h>
#endif
//#define NTLMV1_CLIENT
diff --git a/src/network/socket/qlocalserver_win.cpp b/src/network/socket/qlocalserver_win.cpp
index 00eae32c99..3304c6c6a0 100644
--- a/src/network/socket/qlocalserver_win.cpp
+++ b/src/network/socket/qlocalserver_win.cpp
@@ -46,9 +46,9 @@
#include <qdebug.h>
-#include <Aclapi.h>
-#include <AccCtrl.h>
-#include <Sddl.h>
+#include <aclapi.h>
+#include <accctrl.h>
+#include <sddl.h>
// The buffer size need to be 0 otherwise data could be
// lost if the socket that has written data closes the connection
diff --git a/src/network/socket/socket.pri b/src/network/socket/socket.pri
index 39b214ffb9..3429275a67 100644
--- a/src/network/socket/socket.pri
+++ b/src/network/socket/socket.pri
@@ -40,7 +40,7 @@ win32:SOURCES += socket/qnativesocketengine_win.cpp \
socket/qlocalsocket_win.cpp \
socket/qlocalserver_win.cpp
-win32:!wince*:LIBS += -lAdvapi32
+win32:!wince*:LIBS += -ladvapi32
wince*: {
SOURCES -= socket/qlocalsocket_win.cpp \