From 03bc9a7004013c309a508e8e1cce30cef8d89930 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Tue, 16 Jun 2020 15:12:54 -0400 Subject: [PATCH] docs: Update Clear Linux docs for 1.3.x. x264 url has changed, recent Clear has LDFLAGS populated properly. --- .../developer/install-dependencies-clear.markdown | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/docs/en/1.3.0/developer/install-dependencies-clear.markdown b/source/docs/en/1.3.0/developer/install-dependencies-clear.markdown index 89def1db..871f9d66 100644 --- a/source/docs/en/1.3.0/developer/install-dependencies-clear.markdown +++ b/source/docs/en/1.3.0/developer/install-dependencies-clear.markdown @@ -69,10 +69,9 @@ Build and install the dependencies not available in the base repository. cd .. # x264 - curl -LO https://download.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2 - mkdir x264-snapshot-stable - tar -xf last_stable_x264.tar.bz2 --directory x264-snapshot-stable --strip-components=1 - cd x264-snapshot-stable + curl -LO https://code.videolan.org/videolan/x264/-/archive/master/x264-master.tar.bz2 + tar -xf x264-master.tar.bz2 + cd x264-master ./configure --enable-shared --enable-static --enable-lto --enable-pic --enable-strip make -j$(nproc) sudo make install @@ -80,10 +79,10 @@ Build and install the dependencies not available in the base repository. # make shared libraries findable 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 LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"' >> "${HOME}/.bashrc" 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 sudo ldconfig fi