Fix build on Linux

This commit is contained in:
Cameron Gutman 2018-07-07 22:41:32 -07:00
parent 272aa6896e
commit d9301fc06d

View file

@ -31,16 +31,16 @@ macx {
INCLUDEPATH += $$PWD/../libs/mac/include INCLUDEPATH += $$PWD/../libs/mac/include
LIBS += -L$$PWD/../libs/mac/lib LIBS += -L$$PWD/../libs/mac/lib
} }
unix:!macx { unix:!macx {
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
PKGCONFIG += openssl sdl2 PKGCONFIG += openssl sdl2 libavcodec libavdevice libavformat libavutil
} }
LIBS += -lSDL2 -lavcodec -lavdevice -lavformat -lavutil
win32 { win32 {
LIBS += -llibssl -llibcrypto LIBS += -llibssl -llibcrypto -lSDL2 -lavcodec -lavdevice -lavformat -lavutil
} else { }
LIBS += -lssl -lcrypto macx {
LIBS += -lssl -lcrypto -lSDL2 -lavcodec.58 -lavdevice.58 -lavformat.58 -lavutil.56
} }
SOURCES += \ SOURCES += \