Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
043ad231
Commit
043ad231
authored
Oct 06, 2017
by
Julien Muchembled
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
obs/slapos: fix rpath on recent Debian
parent
2cea1287
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
obs/slapos/templates/Makefile.in
obs/slapos/templates/Makefile.in
+2
-2
No files found.
obs/slapos/templates/Makefile.in
View file @
043ad231
...
...
@@ -137,9 +137,9 @@ install: all
echo
"No path to fix."
set
-e;
\
for
f
in
`find
$(INSTALL_DIRECTORY)
\(
-type
f
-o
-type
l
\)
\(
-executable
-o
-name
"*.so"
\)`;
do
\
for
f
in
`find
$(INSTALL_DIRECTORY)
-type
f
\(
-executable
-o
-name
"*.so"
\)`;
do
\
if
file
-L
$$f
|
grep
-Eq
'.*ELF.*(executable|shared).*'
;
then
\
OLD_RPATH
=
"
`
chrpath
$$
f|awk
-F
'RPATH='
'{print $$2}'
|sed
's#
$(BUILD_DIRECTORY)
#
$(TARGET_DIRECTORY)
#g'
2> /dev/null
`
"
;
\
OLD_RPATH
=
"
`
chrpath
$$
f|awk
-F
'R
(UN)?
PATH='
'{print $$2}'
|sed
's#
$(BUILD_DIRECTORY)
#
$(TARGET_DIRECTORY)
#g'
2> /dev/null
`
"
;
\
if
[
-n
"
$$
OLD_RPATH"
]
;
then
\
chrpath
-r
"
$$
OLD_RPATH"
$$
f
;
\
fi
;
\
...
...
Nicolas Wavrant
@Nicolas
mentioned in commit
Nicolas/slapos@8447e23a
·
Jan 12, 2018
mentioned in commit
Nicolas/slapos@8447e23a
mentioned in commit Nicolas/slapos@8447e23a238a22193aa0089911dcb98102f09670
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment