mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
gpsd: add patch to disable rpath
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4c0f75e444
commit
73c6abae04
17
package/gpsd/gpsd-03-sconstruct-disable-rpath.patch
Normal file
17
package/gpsd/gpsd-03-sconstruct-disable-rpath.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Disable addition of RPATH to the generated libraries
|
||||||
|
|
||||||
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||||
|
|
||||||
|
Index: b/SConstruct
|
||||||
|
===================================================================
|
||||||
|
--- a/SConstruct
|
||||||
|
+++ b/SConstruct
|
||||||
|
@@ -273,8 +273,6 @@
|
||||||
|
env.Prepend(LIBPATH=[installdir('libdir')])
|
||||||
|
else:
|
||||||
|
env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir')])
|
||||||
|
-if env["shared"]:
|
||||||
|
- env.Prepend(RPATH=[installdir('libdir')])
|
||||||
|
|
||||||
|
# Give deheader a way to set compiler flags
|
||||||
|
if 'MORECFLAGS' in os.environ:
|
Loading…
x
Reference in New Issue
Block a user