glibc_post_upgrade: Move LD_SO_CONF definition into source file
This commit is contained in:
parent
365663e72b
commit
e33b0e3197
@ -1011,7 +1011,6 @@ pushd build-%{target}
|
||||
$GCC -static -L. -Os -g %{SOURCE2} \
|
||||
-o glibc_post_upgrade.%{_target_cpu} \
|
||||
'-DGCONV_MODULES_DIR="%{_libdir}/gconv"' \
|
||||
'-DLD_SO_CONF="/etc/ld.so.conf"' \
|
||||
'-DICONVCONFIG="%{_sbindir}/iconvconfig.%{_target_cpu}"'
|
||||
popd
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include <sys/stat.h>
|
||||
#include <elf.h>
|
||||
|
||||
#define LD_SO_CONF "/etc/ld.so.conf"
|
||||
|
||||
#define verbose_exec(failcode, path...) \
|
||||
do \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user