midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/libelf-0.8.13.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
diff -ru a/configure b/configure
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
--- a/configure	2008-05-23 04:18:03.000000000 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+++ b/configure	2015-03-10 20:32:16.332333640 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -3445,6 +3445,16 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	LINK_SHLIB='$(LD) -G -z text -h $(SONAME)'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	INSTALL_SHLIB='$(INSTALL_PROGRAM)'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+      *midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        PICFLAGS='-fPIC -DPIC'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        SHLIB_SFX='.so.$(VERSION)'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        SHLINK_SFX='.so'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        SONAME_SFX='.so.$(MAJOR)'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        LINK_SHLIB='$(CC) -shared -Wl,-soname,$(SONAME) -mout-implib -moutput-def'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        IMPLIB_NAME=libelf.`echo "so.$VERSION" | sed -E 's/[^\.]+$/lib.a/'`
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        INSTALL_SHLIB='cp $(IMPLIB_NAME) $(libdir)/libelf.lib.a; $(INSTALL_PROGRAM)'
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        DEPSHLIBS=''
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+        ;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
       *)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	echo "configure: warning: shared libraries not supported for $host" 1>&2
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	mr_enable_shared=no
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -3687,6 +3697,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 s%@INSTALL_SHLIB@%$INSTALL_SHLIB%g
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 s%@DEPSHLIBS@%$DEPSHLIBS%g
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 s%@DO_SHLIB@%$DO_SHLIB%g
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+s%@IMPLIB_NAME@%$IMPLIB_NAME%g
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 CEOF
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 EOF
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
diff -ru a/lib/Makefile.in b/lib/Makefile.in
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
--- a/lib/Makefile.in	2009-11-01 08:04:19.000000000 -0500
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+++ b/lib/Makefile.in	2015-03-09 00:13:06.842232837 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -49,6 +49,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 SHLINK_SFX = @SHLINK_SFX@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 SONAME_SFX = @SONAME_SFX@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 LINK_SHLIB = @LINK_SHLIB@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+IMPLIB_NAME = @IMPLIB_NAME@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 INSTALL_SHLIB = @INSTALL_SHLIB@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 SHLIB = libelf$(SHLIB_SFX)