mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 13:30:30 +00:00
* configure.in: If --enable-shared was used, set SET_LIB_PATH to
$(REALLY_SET_LIB_PATH) in Makefile. * Makefile.in (SET_LIB_PATH): New variable. (REALLY_SET_LIB_PATH): New variable. ($(DO_X)): Use $(SET_LIB_PATH). (install.all, gcc-no-fixedincludes, $(ALL_MODULES)): Likewise. ($(NATIVE_CHECK_MODULES), $(CROSS_CHECK_MODULES)): Likewise. ($(INSTALL_MODULES), $(CONFIGURE_TARGET_MODULES)): Likewise. ($(ALL_TARGET_MODULES), $(CHECK_TARGET_MODULES)): Likewise. ($(INSTALL_TARGET_MODULES), $(ALL_X11_MODULES)): Likewise. ($(CHECK_X11_MODULES), $(INSTALL_X11_MODULES)): Likewise. (all-gcc, all-bootstrap, check-gcc, install-gcc): Likewise. (install-dosrel): Likewise. (all-opcodes): Depend upon all-libiberty.
This commit is contained in:
parent
04ed3b54e0
commit
294fde1fd4
@ -706,6 +706,15 @@ else
|
|||||||
fi
|
fi
|
||||||
rm -f conftest*
|
rm -f conftest*
|
||||||
|
|
||||||
|
# If --enable-shared was set, we must set LD_LIBRARY_PATH so that the
|
||||||
|
# binutils tools will find libbfd.so.
|
||||||
|
if [ "${enable_shared}" = "yes" ]; then
|
||||||
|
sed -e 's/^SET_LIB_PATH[ ]*=.*$/SET_LIB_PATH = $(REALLY_SET_LIB_PATH)/' \
|
||||||
|
Makefile > Makefile.tem
|
||||||
|
rm -f Makefile
|
||||||
|
mv -f Makefile.tem Makefile
|
||||||
|
fi
|
||||||
|
|
||||||
# Record target_configdirs and the configure arguments in Makefile.
|
# Record target_configdirs and the configure arguments in Makefile.
|
||||||
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
|
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
|
||||||
targargs=`echo "${arguments}" | \
|
targargs=`echo "${arguments}" | \
|
||||||
|
Loading…
Reference in New Issue
Block a user