mirror of https://github.com/vitalif/phantomjs
Set proper jobs number and library paths before building in OpenBSD
https://github.com/ariya/phantomjs/issues/109961.x
parent
8f8de58752
commit
d5eaf41063
2
build.sh
2
build.sh
|
@ -19,7 +19,7 @@ elif [[ $OSTYPE = darwin* ]]; then
|
||||||
# We only support modern Mac machines, they are at least using
|
# We only support modern Mac machines, they are at least using
|
||||||
# hyperthreaded dual-core CPU.
|
# hyperthreaded dual-core CPU.
|
||||||
COMPILE_JOBS=4
|
COMPILE_JOBS=4
|
||||||
elif [[ $OSTYPE == freebsd* ]]; then
|
elif [[ $OSTYPE == freebsd* ]] || [[ $OSTYPE == openbsd* ]]; then
|
||||||
COMPILE_JOBS=`sysctl -n hw.ncpu`
|
COMPILE_JOBS=`sysctl -n hw.ncpu`
|
||||||
else
|
else
|
||||||
CPU_CORES=`grep -c ^processor /proc/cpuinfo`
|
CPU_CORES=`grep -c ^processor /proc/cpuinfo`
|
||||||
|
|
|
@ -60,7 +60,7 @@ include(mongoose/mongoose.pri)
|
||||||
include(linenoise/linenoise.pri)
|
include(linenoise/linenoise.pri)
|
||||||
include(qcommandline/qcommandline.pri)
|
include(qcommandline/qcommandline.pri)
|
||||||
|
|
||||||
linux*|mac {
|
linux*|mac|openbsd* {
|
||||||
INCLUDEPATH += breakpad/src
|
INCLUDEPATH += breakpad/src
|
||||||
|
|
||||||
SOURCES += breakpad/src/client/minidump_file_writer.cc \
|
SOURCES += breakpad/src/client/minidump_file_writer.cc \
|
||||||
|
@ -131,3 +131,8 @@ win32-msvc* {
|
||||||
qico
|
qico
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
openbsd* {
|
||||||
|
LIBS += -L/usr/X11R6/lib
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue