Skip to content

Commit

Permalink
Modify buidl curl
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Nov 5, 2018
1 parent bdf081a commit 1b2a854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions pri/ThirdLibrary.pri
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,7 @@ myPackagesExist(QZXing) {
include(Webrtc.pri)

equals(RABBITIM_USE_LIBCURL, 1) {
mingw {
CURL_LIBS += $$system($$PKG_CONFIG --static --libs libcurl)
message("CURL_LIBS:$$CURL_LIBS")
!isEmpty(CURL_LIBS) {
DEFINES *= RABBITIM_USE_LIBCURL
LIBS += $$CURL_LIBS
}
} else : myPackagesExist(libcurl) {
myPackagesExist(libcurl) {
DEFINES *= RABBITIM_USE_LIBCURL
MYPKGCONFIG *= libcurl
} else : msvc {
Expand Down

0 comments on commit 1b2a854

Please sign in to comment.