Hello Marco,
why do you rely on uname to determine if the flag should be set?
Will this also work when cross compiling for MinGW?
Other packages use the following:
case "${host}" in
*-*-cygwin* | *-*-mingw*)
...
;;
esac
cf.
https://github.com/pandamonia/libffi-iOS/blob/master/patches/no-undefined-fix
The flag -no-undefined is described at
https://www.gnu.org/software/libtool/manual/html_node/Link-mode.html
Best regards
Heinrich Schuchardt
On 10.11.2015 07:27, Marco Atzeri wrote:
> On 08/11/2015 09:50, Andrew Makhorin wrote:
>>
>> GLPK 4.57 Release Information
>> *****************************
>>
>
> Hi Andrew,
> for the next release, can you add the attached patch
> to set the "-no-undefined" for LDFLAGS for Cygwin
> and similar platforms ?
>
> In this way the source will build the shared lib
> off the shelf.
>
> Regards
> Marco
>
>
>
>
>
> _______________________________________________
> Help-glpk mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk
>
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk