Commit 7036e4f9 authored by Jérome Perrin's avatar Jérome Perrin

component/perl-DBD-MySQL: add -I cflags so that configure find zlib/openssl from slapos

By using --cflags provided by Makefile.PL:

  --cflags=<flags>       Use <flags> for running the C compiler; defaults
                         to the value of "mysql_config --cflags" or a guessed
                         value
parent 2ce3d292
......@@ -26,9 +26,9 @@ environment =
[perl-DBD-MySQL]
<= perl-DBD-MySQL-common
configure-command =
${perl:location}/bin/perl Makefile.PL --mysql_config=${mysql-tritonn-5.0:location}/bin/mysql_config --libs="-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mysql-tritonn-5.0:location}/lib/mysql -Wl,-rpath=${openssl:location}/lib $(${mysql-tritonn-5.0:location}/bin/mysql_config --libs)"
${perl:location}/bin/perl Makefile.PL --cflags="-I${zlib:location}/include -I${openssl:location}/include $(${mysql-tritonn-5.0:location}/bin/mysql_config --cflags)" --libs="-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mysql-tritonn-5.0:location}/lib/mysql -Wl,-rpath=${openssl:location}/lib $(${mysql-tritonn-5.0:location}/bin/mysql_config --libs)"
[perl-DBD-mariadb]
<= perl-DBD-MySQL-common
configure-command =
${perl:location}/bin/perl Makefile.PL --mysql_config=${mariadb:location}/bin/mysql_config --libs="-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mariadb:location}/lib/mysql -Wl,-rpath=${openssl:location}/lib $(${mariadb:location}/bin/mysql_config --libs)"
${perl:location}/bin/perl Makefile.PL --cflags="-I${zlib:location}/include -I${openssl:location}/include $(${mariadb:location}/bin/mysql_config --cflags)" --libs="-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mariadb:location}/lib/mysql -Wl,-rpath=${openssl:location}/lib $(${mariadb:location}/bin/mysql_config --libs)"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment