From a29c0a0926ca547d2f04a2e9f32c125196d01e63 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sun, 18 May 2014 07:55:12 -0400 Subject: [PATCH] find mysql.h for MariaDB on Win32 --- Makefile.PL | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index 49083686..dfcba6ab 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -793,6 +793,8 @@ DEATH my $bindir = File::Spec->catdir($basedir, 'bin'); my $pkglibdir= File::Spec->catdir($basedir, 'lib', 'opt'); my $pkgincludedir = File::Spec->catdir($basedir, 'include'); + $pkgincludedir = File::Spec->catdir($basedir, 'include', 'mysql') + if -e File::Spec->catfile($basedir, 'include', 'mysql', 'mysql.h'); my $ldflags = ''; my $client_libs = $Config{'cc'} eq 'gcc' ? '-lmysql -lzlib' : '-lmysqlclient -lzlib';