Skip to content

Commit

Permalink
Config win32 gcc build to be static #13
Browse files Browse the repository at this point in the history
  • Loading branch information
mxklb committed Oct 31, 2018
1 parent 1528f9f commit 75826a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/lib.pri
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Note: Use this after declaring HEADERS & SOURCE!
TEMPLATE = lib
CONFIG += shared
win32:!gcc {
win32 {
CONFIG -= shared
CONFIG += static
}
Expand Down
3 changes: 3 additions & 0 deletions libs/loadlibs.pri
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ for(lib, customLibs) {
isEmpty(LIB_EXTENSION) {
LIB_EXTENSION = lib
}
gcc {
LIB_EXTENSION = a
}
}
#message($${LIB_EXTENSION})

Expand Down

0 comments on commit 75826a6

Please sign in to comment.