mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-11 13:54:49 -06:00
docs: Update Clear Linux docs for 1.3.x.
x264 url has changed, recent Clear has LDFLAGS populated properly.
This commit is contained in:
parent
b8c809c01d
commit
03bc9a7004
@ -69,10 +69,9 @@ Build and install the dependencies not available in the base repository.
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# x264
|
# x264
|
||||||
curl -LO https://download.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2
|
curl -LO https://code.videolan.org/videolan/x264/-/archive/master/x264-master.tar.bz2
|
||||||
mkdir x264-snapshot-stable
|
tar -xf x264-master.tar.bz2
|
||||||
tar -xf last_stable_x264.tar.bz2 --directory x264-snapshot-stable --strip-components=1
|
cd x264-master
|
||||||
cd x264-snapshot-stable
|
|
||||||
./configure --enable-shared --enable-static --enable-lto --enable-pic --enable-strip
|
./configure --enable-shared --enable-static --enable-lto --enable-pic --enable-strip
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
@ -80,10 +79,10 @@ Build and install the dependencies not available in the base repository.
|
|||||||
|
|
||||||
# make shared libraries findable
|
# make shared libraries findable
|
||||||
export CFLAGS="${CFLAGS:-} -I/usr/local/include"
|
export CFLAGS="${CFLAGS:-} -I/usr/local/include"
|
||||||
export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"
|
|
||||||
echo 'export CFLAGS="${CFLAGS:-} -I/usr/local/include"' >> "${HOME}/.bashrc"
|
echo 'export CFLAGS="${CFLAGS:-} -I/usr/local/include"' >> "${HOME}/.bashrc"
|
||||||
echo 'export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"' >> "${HOME}/.bashrc"
|
|
||||||
if ! grep '\/usr\/local\/lib' /etc/ld.so.conf >/dev/null 2>&1; then
|
if ! grep '\/usr\/local\/lib' /etc/ld.so.conf >/dev/null 2>&1; then
|
||||||
|
export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"
|
||||||
|
echo 'export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"' >> "${HOME}/.bashrc"
|
||||||
echo '/usr/local/lib' | sudo tee --append /etc/ld.so.conf
|
echo '/usr/local/lib' | sudo tee --append /etc/ld.so.conf
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user