Changes required to support FreeBSD
This commit is contained in:
parent
80beccb2c4
commit
7179e75e70
16 changed files with 94 additions and 20 deletions
|
@ -31,7 +31,7 @@ JavaUtils::JavaUtils()
|
|||
{
|
||||
}
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
static QString processLD_LIBRARY_PATH(const QString & LD_LIBRARY_PATH)
|
||||
{
|
||||
QDir mmcBin(QCoreApplication::applicationDirPath());
|
||||
|
@ -83,7 +83,7 @@ QProcessEnvironment CleanEnviroment()
|
|||
qDebug() << "Env: ignoring" << key << value;
|
||||
continue;
|
||||
}
|
||||
#ifdef Q_OS_LINUX
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
// Do not pass LD_* variables to java. They were intended for MultiMC
|
||||
if(key.startsWith("LD_"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue