Fixed a possible infinite loop problem where the primary key accessor calls itself...
[dbsrgits/SQL-Translator.git] / Makefile.PL
index 35e7dbe..a9a00ff 100644 (file)
@@ -3,9 +3,14 @@ package SQL::Translator;
 use strict;
 use ExtUtils::MakeMaker;
 
+my @SIGN;
+if ($ExtUtils::MakeMaker::VERSION >= 6.18) {
+    @SIGN = (SIGN => 1);
+}
+
 WriteMakefile(
     'NAME'         => __PACKAGE__,
-    'SIGN'         => 1,
+    @SIGN,
     'VERSION_FROM' => 'lib/SQL/Translator.pm',
     'EXE_FILES'    => [
         'bin/sqlt-diagram',