mirror of https://github.com/hak5/openwrt-owl.git
parent
7a2b3d8a55
commit
643babfc3c
|
@ -221,7 +221,7 @@ wrap_bin_ld() {
|
||||||
local bin="$2"
|
local bin="$2"
|
||||||
|
|
||||||
echo '#!/bin/sh' > "$out"
|
echo '#!/bin/sh' > "$out"
|
||||||
echo -n 'exec "'"$bin"'" '"$CFLAGS"' ${STAGING_DIR:+' >> "$out"
|
echo -n 'exec "'"$bin"'" ${STAGING_DIR:+' >> "$out"
|
||||||
echo -n '-L "$STAGING_DIR/usr/lib" ' >> "$out"
|
echo -n '-L "$STAGING_DIR/usr/lib" ' >> "$out"
|
||||||
echo '-rpath-link "$STAGING_DIR/usr/lib"} "$@"' >> "$out"
|
echo '-rpath-link "$STAGING_DIR/usr/lib"} "$@"' >> "$out"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue