Commit 3afe2e11 by Anselme

fixed linux build

parent dc20249c
File added
File added
......@@ -8,8 +8,6 @@ CONFIG += c++11 window
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -fno-strict-aliasing
QMAKE_LFLAGS += -static-libgcc -static-libstdc++ -static -lpthread
DESTDIR = $$bin_dir
Debug : DEFINES += DEBUG
......@@ -32,7 +30,7 @@ win32 {
}
unix {
LIBS += -lsfml-graphics-s -lfreetype -ljpeg -lsfml-window-s -lpthread -lX11 -lXrandr -ludev
LIBS += -lsfml-audio-s -lopenal32 -lFLAC -lvorbisenc -lvorbisfile -lvorbis -logg
LIBS += -lsfml-audio-s -lopenal -lFLAC -lvorbisenc -lvorbisfile -lvorbis -logg
LIBS += -lsfml-network-s -lsfml-system-s -ldl -lGL
}
......
......@@ -8,19 +8,21 @@ CONFIG += c++11 console
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -fno-strict-aliasing
QMAKE_LFLAGS += -static-libgcc -static-libstdc++ -static -lpthread
win32 {
QMAKE_LFLAGS += -static-libgcc -static-libstdc++ -static -lpthread
}
DESTDIR = $$bin_dir
Debug : DEFINES += DEBUG
LIBPATH += $$lib_dir
unix {
LIBPATH += $$lib_dir/linux_64
}
win32 {
LIBPATH += $$lib_dir/MinGW_32
}
unix {
LIBPATH += $$lib_dir/linux_64
}
DEFINES += SFML_STATIC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment