diff --git a/CMakeLists.txt b/CMakeLists.txt index ba152f6..bedead2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,9 +142,9 @@ if (MINGW) #remove the lib from the generated target lib SET(CMAKE_SHARED_LIBRARY_PREFIX "") - target_link_libraries (NppFTP comctl32 shlwapi ssh ssl crypto z ws2_32 Iphlpapi) + target_link_libraries (NppFTP comctl32 shlwapi ssh ssl crypto z ws2_32 iphlpapi) else (MINGW) - target_link_libraries (NppFTP comctl32 shlwapi ssh libssl libcrypto zlib ws2_32 Iphlpapi) + target_link_libraries (NppFTP comctl32 shlwapi ssh libssl libcrypto zlib ws2_32 iphlpapi) endif (MINGW) # build a CPack driven zip package diff --git a/Makefile.mingw b/Makefile.mingw index 25c40bf..c9d89b6 100644 --- a/Makefile.mingw +++ b/Makefile.mingw @@ -10,7 +10,7 @@ endif CXX = $(PREFIX)-g++ CFLAGS = -MMD -Os -O3 -Wall -pedantic -Wformat=2 -Wno-deprecated-declarations -Wno-unused-value -Werror -fexpensive-optimizations -DLIBSSH_STATIC -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -LFLAGS = -static -L$(OUTDIR)/obj -L$(OUTDIR)/3rdparty/lib -lcomdlg32 -lcomctl32 -luuid -lole32 -lshlwapi -lssh -lssl -lcrypto -lz -lgdi32 -lws2_32 -lIphlpapi +LFLAGS = -static -L$(OUTDIR)/obj -L$(OUTDIR)/3rdparty/lib -lcomdlg32 -lcomctl32 -luuid -lole32 -lshlwapi -lssh -lssl -lcrypto -lz -lgdi32 -lws2_32 -liphlpapi INC = -I$(OUTDIR)/3rdparty/include -Isrc -Isrc/Windows -Itinyxml/include -IUTCP/include -I. RES = $(OUTDIR)/obj/NppFTP.res