view src/glpk-1-fixes.patch @ 3607:b3e27f5b5b33

postgresql: only build additional native tools in cross build * src/postgresql.mk: only build native tools when cross building
author John Donoghue
date Mon, 09 Jun 2014 08:38:54 -0400
parents 7ecd056f09a6
children 3858aa1d5ef8
line wrap: on
line source

diff -ur glpk-4.52.1.orig/configure.ac glpk-4.52.1/configure.ac
--- glpk-4.52.1.orig/configure.ac	2013-10-18 07:53:54 -0400
+++ glpk-4.52.1/configure.ac	2013-10-18 08:00:53 -0400
@@ -54,7 +54,7 @@
 dnl Check for programs
 AC_PROG_CC
 AC_PROG_INSTALL
-AC_PROG_LIBTOOL
+LT_INIT([win32-dll])
 
 dnl Check for math library
 AC_CHECK_LIB([m], [exp])
diff -ur glpk-4.52.1.orig/src/Makefile.am glpk-4.52.1/src/Makefile.am
--- glpk-4.52.1.orig/src/Makefile.am	2013-10-18 07:53:54 -0400
+++ glpk-4.52.1/src/Makefile.am	2013-10-18 08:02:15 -0400
@@ -17,6 +17,7 @@
 -I$(srcdir)/zlib
 
 libglpk_la_LDFLAGS = \
+-no-undefined \
 -version-info 36:1:0 \
 -export-symbols-regex '^glp_*'