* Andrew Makhorin <[EMAIL PROTECTED]> [2008-09-03 22:00]:

> Probably it is not sufficient, since the octave interface module uses
> some deprecated glpk api routines prefixed with 'lpx_' whose names are
> then replaced with '_glp_lpx_' by the preprocessor (to make the
> namespace clean). I think that the glpk shared library should include
> exactly those external (exported) symbols which are defined in glpk.h,
> i.e. prefixed with 'glp_' (documented api routines) and with '_glp_lpx'
> (obsolete api routines kept for backward compatibility).

The patch attached below does that.

-- 
Rafael
--- glpk-4.31.orig/src/Makefile.am
+++ glpk-4.31/src/Makefile.am
@@ -4,7 +4,7 @@
 
 lib_LTLIBRARIES = libglpk.la
 
-libglpk_la_LDFLAGS = -version-info 16:0:16
+libglpk_la_LDFLAGS = -version-info 16:0:16 -export-symbols-regex '^(glp_|_glp_lpx).*'
 
 libglpk_la_SOURCES = \
 glpapi01.c \
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to