Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 96c201571d5f1ddbc1c78f15a7021865 > files > 18

cross-mipsel-gcc-4.4.0-0.2mnb2.src.rpm

--- gcc-4.4-20090315/gcc/ada/gcc-interface/Makefile.in.orig	2009-03-15 22:36:25.641981593 -0400
+++ gcc-4.4-20090315/gcc/ada/gcc-interface/Makefile.in	2009-03-15 22:39:43.671972677 -0400
@@ -120,7 +120,7 @@ OUTPUT_OPTION = @OUTPUT_OPTION@
 objext = .o
 exeext =
 arext  = .a
-soext  = .so
+soext  = .so.1
 shext  =
 hyphen = -
 
@@ -2141,6 +2141,10 @@ gnatlib-shared-default:
 		libgnat$(soext)
 	cd $(RTSDIR); $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
 		libgnarl$(soext)
+	cd rts; $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
+		libgnat$(hyphen)$(LIBRARY_VERSION).so
+	cd rts; $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
+		libgnarl$(hyphen)$(LIBRARY_VERSION).so
 
 gnatlib-shared-dual:
 	$(MAKE) $(FLAGS_TO_PASS) \
@@ -2149,7 +2153,7 @@ gnatlib-shared-dual:
 	     MULTISUBDIR="$(MULTISUBDIR)" \
 	     THREAD_KIND="$(THREAD_KIND)" \
              gnatlib-shared-default
-	$(MV) $(RTSDIR)/libgna*$(soext) .
+	$(MV) $(RTSDIR)/libgna*$(soext) $(RTSDIR)/libgna*.so .
 	$(RM) ../stamp-gnatlib2-$(RTSDIR)
 	$(MAKE) $(FLAGS_TO_PASS) \
              GNATLIBFLAGS="$(GNATLIBFLAGS)" \
@@ -2157,7 +2161,7 @@ gnatlib-shared-dual:
 	     MULTISUBDIR="$(MULTISUBDIR)" \
 	     THREAD_KIND="$(THREAD_KIND)" \
              gnatlib
-	$(MV) libgna*$(soext) $(RTSDIR)
+	$(MV) libgna*$(soext) libgna*.so $(RTSDIR)
 
 gnatlib-shared-dual-win32:
 	$(MAKE) $(FLAGS_TO_PASS) \