glibc_post_upgrade: Move LD_SO_CONF definition into source file

This commit is contained in:
Florian Weimer 2018-01-19 15:11:38 +01:00
parent 365663e72b
commit e33b0e3197
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 \
{ \