[Bf-committers] cygwin link error: solved

Jasper Mine jaspermine at earthlink.net
Sat Dec 8 22:54:42 CET 2007


Hello

Not sure if this is related.  OSX intel is bombing with LD complaining  
about iconv.  Haven't diffed the mk_def file yet or altered libs.

Jasper

On Dec 7, 2007, at 7:05 PM, Tanner Jotblad <tannerjotblad at gmail.com>  
wrote:

>
> Hi, yet more cygwin problems, this one was trying to link to the non
> FREE_WINDOWS iconv.
> The check for FREE_WINDOWS was missing a ')', and it was looking in
> NAN_GETTEXT instead of NAN_ICONV.
> Here's the patch, once again, if this could be tested and committed,  
> I'd
> be happy:
>
> Index: source/nan_definitions.mk
> ===================================================================
> --- source/nan_definitions.mk    (revision 12822)
> +++ source/nan_definitions.mk    (working copy)
> @@ -540,8 +540,8 @@
>     export NAN_ZLIB ?= $(LCGDIR)/zlib
>     export NAN_NSPR ?= $(LCGDIR)/nspr
>     export NAN_GETTEXT ?= $(LCGDIR)/gettext
> -    ifeq ($FREE_WINDOWS), true)
> -       export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/freegettext.a
> $(NAN_GETTEXT)/lib/freeiconv.a
> +    ifeq ($(FREE_WINDOWS), true)
> +       export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/freegettext.a
> $(NAN_ICONV)/lib/freeiconv.a
>     else
>        export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/gnu_gettext.lib
> $(NAN_GETTEXT)/lib/iconv.lib
>     endif
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list