open-iscsi: refine runtime environment (#17789)
This commit is contained in:
parent
c7e83a8375
commit
8df17d3830
1 changed files with 4 additions and 0 deletions
|
@ -28,5 +28,9 @@ class OpenIscsi(MakefilePackage):
|
|||
def setup_build_environment(self, env):
|
||||
env.set('CFLAGS', '-DNO_SYSTEMD')
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.prepend_path('PATH', self.prefix.sbin)
|
||||
env.prepend_path('LD_LIBRARY_PATH', self.prefix.usr.lib64)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make('install', 'DESTDIR={0}'.format(prefix))
|
||||
|
|
Loading…
Reference in a new issue