mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
don't replace -lc++?
This commit is contained in:
parent
f6a1065cd7
commit
8b37c64088
@ -20,11 +20,6 @@ trait libde265
|
|||||||
UnixCMakeExecutor::create($this)
|
UnixCMakeExecutor::create($this)
|
||||||
->addConfigureArgs('-DENABLE_SDL=OFF')
|
->addConfigureArgs('-DENABLE_SDL=OFF')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
if (PHP_OS_FAMILY === 'Linux') {
|
|
||||||
$libheifpc = realpath(BUILD_LIB_PATH . '/pkgconfig/libde265.pc');
|
|
||||||
FileSystem::replaceFileStr($libheifpc, '-lc++', '-lstdc++');
|
|
||||||
}
|
|
||||||
$this->patchPkgconfPrefix(['libde265.pc']);
|
$this->patchPkgconfPrefix(['libde265.pc']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -40,10 +40,6 @@ trait libheif
|
|||||||
'-DENABLE_PLUGIN_LOADING=OFF',
|
'-DENABLE_PLUGIN_LOADING=OFF',
|
||||||
)
|
)
|
||||||
->build();
|
->build();
|
||||||
if (PHP_OS_FAMILY === 'Linux') {
|
|
||||||
$libheifpc = realpath(BUILD_LIB_PATH . '/pkgconfig/libheif.pc');
|
|
||||||
FileSystem::replaceFileStr($libheifpc, '-lc++', '-lstdc++');
|
|
||||||
}
|
|
||||||
$this->patchPkgconfPrefix(['libheif.pc']);
|
$this->patchPkgconfPrefix(['libheif.pc']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user