openwrt-packages/multimedia/mjpg-streamer
Sebastian Kemper 47e1b6c2f7 mjpg-streamer: fix missing runpath
This partially reverts ac5912e9cb.
CMAKE_SKIP_RPATH=TRUE is set in include/cmake.mk, so the commit removed
this from some packages as it is the default anyway. But in
mjpg-streamer Makefile this was not set to "TRUE", but to "FALSE". So
this line shouldn't have been removed.

With this revert the runpath is back and modules can be loaded again
from "/usr/lib/mjpg-streamer":

readelf -d build_dir/target-mips_24kc_musl/mjpg-streamer-1.0.0/ipkg-mips_24kc/mjpg-streamer/usr/bin/mjpg_streamer

Dynamic section at offset 0x1c0 contains 35 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libjpeg.so.62]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000001d (RUNPATH)                    Library runpath: [/usr/lib/mjpg-streamer]

Resolve #17081

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-08 17:49:38 -08:00
..
files mjpg-streamer: update to latest git version 2020-01-12 17:56:17 -08:00
patches mjpg-streamer: remove outdated musl patch 2021-08-15 18:30:09 -07:00
Makefile mjpg-streamer: fix missing runpath 2021-11-08 17:49:38 -08:00