Subject: | Makefile.PL libaries need to be listed after .o files |
libraries need to be listed after the .o files on certain systems so that the symbol resolution works correctly.
Subject: | perl-gettext.src1.patch |
--- origsrc/gettext-1.05/Makefile.PL 2005-01-31 00:30:22.000000000 +0100
+++ src/gettext-1.05/Makefile.PL 2015-05-23 23:12:06.797560100 +0200
@@ -50,7 +50,7 @@ sub conftest {
close TEST;
open(SAVE, ">&STDERR");
open(STDERR, ">/dev/null");
- system($cc . " -o conftest " . $libs . " conftest.c");
+ system($cc . " -o conftest " . " conftest.c " . $libs);
my $exitstatus = $?;
open(STDERR, ">&SAVE");
if ($exitstatus != 0) {