Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

fix for ubuntu 18.04 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ifndef OBS_LIB
OBS_LIB = /usr/lib
endif

CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5WebKitWidgets)
CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5WebKitWidgets Qt5Widgets Qt5Core Qt5Gui)
CXX = g++
RM = /bin/rm -rf
LDFLAGS = -L$(OBS_LIB)
LDLIBS_LIB = -lobs -lrt
LDLIBS_RENDERER = $(shell pkg-config --libs Qt5WebKitWidgets) -lrt
LDLIBS_RENDERER = $(shell pkg-config --libs Qt5WebKitWidgets Qt5Core Qt5Gui Qt5Widgets Qt5WebKit) -lrt

LIB = build/qtwebkit-browser.so
LIB_OBJ = build/qtwebkit-main.o build/qtwebkit-source.o build/qtwebkit-manager.o
Expand Down