nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1--- a/gcc/ada/gcc-interface/Makefile.in 2022-08-19 18:09:52.000000000 +1000
2+++ b/gcc/ada/gcc-interface/Makefile.in 2023-01-11 01:54:06.000000000 +1100
3@@ -795,14 +795,14 @@
4 -o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
5 $(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) \
6 $(SO_OPTS) \
7- -Wl,-install_name,@rpath/libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
8+ -Wl,-install_name,$(ADA_RTL_DSO_DIR)/libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
9 $(MISCLIB)
10 cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
11 | sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -dynamiclib $(PICFLAG_FOR_TARGET) \
12 -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
13 $(GNATRTL_TASKING_OBJS) \
14 $(SO_OPTS) \
15- -Wl,-install_name,@rpath/libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
16+ -Wl,-install_name,$(ADA_RTL_DSO_DIR)/libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
17 $(THREADSLIB) -Wl,libgnat$(hyphen)$(LIBRARY_VERSION)$(soext)
18 cd $(RTSDIR); $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
19 libgnat$(soext)