Subject: | Problem building makefile when testing for libidn |
Under suse 9.0, gcc-3.3.1-29, "perl Makefile.PL" fails with
"undefined reference to `idna_to_ascii_8z'" although libidn is installed.
The line in Makefile.PL
system "cc $cflags $ldflags -o __test1 __test1.c";
works if reordered as
system "cc $cflags -o __test1 __test1.c $ldflags";