Small patch for flexlink incomming, patches flexlink to run strip on all
binaries which in turn fixes building lablgtk.
Also pulls in some posix functionality.
diff -urN flexdll.old/Makefile flexdll/Makefile
--- flexdll.old/Makefile 2015-01-22 14:01:06.000000000 +0100
+++ flexdll/Makefile 2017-01-20 20:53:56.637110300 +0100
@@ -47,7 +47,7 @@
MSVCC64 = $(MSVCC_ROOT)/amd64/cl.exe /nologo /MD -D_CRT_SECURE_NO_DEPRECATE
/GS-
OCAMLOPT = ocamlopt
#OCAMLOPT = FLEXLINKFLAGS=-real-manifest ocamlopt
-#LINKFLAGS = unix.cmxa
+LINKFLAGS = unix.cmxa
ifeq ($(TOOLCHAIN), msvc)
RES=version.res
diff -urN flexdll.old/reloc.ml flexdll/reloc.ml
--- flexdll.old/reloc.ml 2015-01-22 17:30:07.000000000 +0100
+++ flexdll/reloc.ml 2017-01-20 21:06:57.296761500 +0100
@@ -947,7 +947,7 @@
Printf.sprintf
"%s %s%s -L. %s %s -o %s %s %s %s %s"
!gcc
- (if link_exe = `EXE then "" else "-shared ")
+ (if link_exe = `EXE then "-s" else "-s -shared ")
(if main_pgm then "" else if !noentry then "-Wl,-e0 " else if
!machine = `x86 then "-Wl,-e_FlexDLLiniter@12 " else "-Wl,-eFlexDLLiniter ")
(mk_dirs_opt "-I")
(mk_dirs_opt "-L")
@@ -969,7 +969,7 @@
"%s -m%s %s%s -L. %s %s -o %s %s %s %s %s %s"
!gcc
!subsystem
- (if link_exe = `EXE then "" else "-shared ")
+ (if link_exe = `EXE then "-s" else "-s -shared ")
(if main_pgm then "" else if !noentry then "-Wl,-e0 " else if
!machine = `x86 then "-Wl,-e_FlexDLLiniter@12 " else "-Wl,-eFlexDLLiniter ")
(mk_dirs_opt "-I")
(mk_dirs_opt "-L")
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users