From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Date: Mon, 10 Apr 2017 14:19:12 +0000 (+0100)
Subject: Fix running Makefile.PL without '.' in @INC
X-Git-Tag: 0.07047~4
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c5df1f5ef10022d95587606b1cbc4a31b18cedac;p=dbsrgits%2FDBIx-Class-Schema-Loader.git

Fix running Makefile.PL without '.' in @INC
---

diff --git a/Changes b/Changes
index f3a109b..471cf97 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,7 @@ Revision history for Perl extension DBIx::Class::Schema::Loader
         - Avoid upcoming DBIC warning on implicit SELECT * invocation
           (RT#118178)
         - Improve moniker_map and col_accessor_map coderef documentation (GH#7)
+        - Fix running Makefile.PL without '.' in @INC
 
 0.07046  2016-09-05
         - Introspect view definitions for PostgreSQL, MySQL, Oracle,
diff --git a/Makefile.PL b/Makefile.PL
index ae6ba95..8f296f1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,6 +2,7 @@ use warnings;
 use strict;
 
 use 5.008001;
+use lib '.';
 use inc::Module::Install 1.00;
 
 use Getopt::Long();