|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
diff -ru busybox-1.28.3.orig/scripts/trylink busybox-1.28.3/scripts/trylink
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
--- busybox-1.28.3.orig/scripts/trylink 2018-03-26 01:59:01.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
@@ -250,13 +250,12 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
LBB_STATIC=""
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
test "$CONFIG_FEATURE_LIBBUSYBOX_STATIC" = y && LBB_STATIC="-Wl,-static"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
- EXE="$sharedlib_dir/libbusybox.so.${BB_VER}_unstripped"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
+ EXE="$sharedlib_dir/libbusybox.so.${BB_VER}"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
try $CC $CFLAGS $LDFLAGS \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
-o $EXE \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
-shared -fPIC $LBB_STATIC \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
- -Wl,--enable-new-dtags \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
- -Wl,-z,combreloc \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
-Wl,-soname="libbusybox.so.$BB_VER" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
+ -Wl,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
-Wl,--undefined=lbb_main \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
$SORT_COMMON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
$SORT_SECTION \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
@@ -268,7 +267,6 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
cat $EXE.out
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
exit 1
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
- $STRIP -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/libbusybox.so.$BB_VER"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
chmod a+x "$sharedlib_dir/libbusybox.so.$BB_VER"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
echo "libbusybox: $sharedlib_dir/libbusybox.so.$BB_VER"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7f17bb |
fi
|