Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
platformLibs:mingw: move shell32 to separate package
Browse files Browse the repository at this point in the history
  • Loading branch information
msink committed Oct 28, 2019
1 parent afee74b commit f88dd8a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
23 changes: 23 additions & 0 deletions platformLibs/src/platform/mingw/shell32.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package = platform.shell32
depends = windows

compilerOpts = \
-DUNICODE \
-DWINVER=0x0601 \
-D_WIN32_WINNT=0x0601 \
-DWINAPI_FAMILY=3 \
-DOEMRESOURCE \
-Wno-incompatible-pointer-types \
-Wno-deprecated-declarations

headers = windows.h shlobj.h

headerFilter = \
shlobj.h \
shobjidl.h \
sherrors.h \
shtypes.h \
shldisp.h \
shlguid.h

linkerOpts = -lshell32
11 changes: 1 addition & 10 deletions platformLibs/src/platform/mingw/windows.def
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ headers = \
wtypes.h \
minwindef.h \
windows.h \
commctrl.h \
shlobj.h \
shobjidl.h
commctrl.h

headerFilter = \
apiset.h \
Expand Down Expand Up @@ -104,12 +102,6 @@ headerFilter = \
securitybaseapi.h \
servprov.h \
shellapi.h \
sherrors.h \
shldisp.h \
shlguid.h \
shlobj.h \
shobjidl.h \
shtypes.h \
specstrings.h \
stralign.h \
stringapiset.h \
Expand Down Expand Up @@ -161,7 +153,6 @@ noStringConversion = \

linkerOpts = \
-lcomctl32 \
-lshell32 \
-limm32 \
-lgdi32 \
-luser32 \
Expand Down

0 comments on commit f88dd8a

Please sign in to comment.