From a47cd78650ce6b82271133e1c319674401e0b4cb Mon Sep 17 00:00:00 2001 From: echristo Date: Mon, 4 Dec 2006 02:10:10 +0000 Subject: 2006-12-03 Eric Christopher PR target/24598 * config/t-slibgcc-darwin: Pass -install_name. * config/darwin.h (LINK_COMMAND_SPEC): Remove use of libtool. Only pass through options that the linker recognizes. (LINK_SPEC): Update comment. Translate options. (STARTFILE_SPEC): Add dylib1.o for shared libraries. * config/darwin9.h (LINK_COMMAND_SPEC): Ditto above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119477 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/t-slibgcc-darwin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/t-slibgcc-darwin') diff --git a/gcc/config/t-slibgcc-darwin b/gcc/config/t-slibgcc-darwin index 0c6eded3de4..f41acae1b3f 100644 --- a/gcc/config/t-slibgcc-darwin +++ b/gcc/config/t-slibgcc-darwin @@ -16,7 +16,7 @@ SHLIB_LC = -lc # Note that this version is used for the loader, not the linker; the linker # uses the stub versions named by $(LIBGCC). SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -dynamiclib -nodefaultlibs \ - -Wl,-install_name,$(slibdir)/$(SHLIB_INSTALL_NAME) \ + -install_name $(slibdir)/$(SHLIB_INSTALL_NAME) \ -single_module -o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp \ -Wl,-exported_symbols_list,$(SHLIB_MAP) \ $(SHLIB_VERSTRING) \ -- cgit v1.2.1