Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lexborisov/perl-html-myhtml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlex <lexinhell@gmail.com>2016-03-01 09:46:06 +0300
committerlex <lexinhell@gmail.com>2016-03-01 09:46:06 +0300
commit1eebd0d6bd10332d65209d3a65f15d52f91b141a (patch)
treeeede3ed36066e9b1f8af71ef8604caf621366b70
parent9b11b5c463b9035e46037d9d6acb1095e0d001cf (diff)
Fixes for compile program
-rw-r--r--Changes3
-rwxr-xr-xMakefile.PL4
-rwxr-xr-xMyHTML.pm2
3 files changed, 6 insertions, 3 deletions
diff --git a/Changes b/Changes
index df00e8b..5854dd3 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.25 Tue Mar 01 2016 09:43:03 GMT+0300
+ And again, fixes for compile program
+
0.24 Mon Feb 29 2016 16:16:03 GMT+0300
Fixed compile problem
diff --git a/Makefile.PL b/Makefile.PL
index 6f7b9e4..dc4546c 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -41,7 +41,7 @@ my $fdfdf = WriteMakefile(
LICENSE => 'Apache 2.0',
LINKTYPE => 'dynamic',
LIBS => ["-lpthread"],
- OBJECT => [@$LIST_OBJECTS, "MyHTML.o"],
+ LDFROM => join(" ", @$LIST_OBJECTS, "MyHTML.o"),
INC => "-I$myhtml_source_dir",
#MYEXTLIB => "$myhtml_source_dir/myhtml/myhtml.o",
clean => {FILES => "$myhtml_source_dir/myhtml/*libmyhtml* $myhtml_source_dir/*.o $myhtml_source_dir/myhtml/*.o $myhtml_source_dir/myhtml/utils/*.o"}
@@ -55,7 +55,7 @@ sub postamble {
my @list;
foreach my $name (@{$MYINSTALLER::LIST_COMPILE}) {
- push @list, "\t". '$(CC) -Wall -Werror -O2 -fPIC --std=c99 -pthread $(INC) -c '. $name;
+ push @list, "\t". '$(CC) -Wall -Werror -O2 -fPIC --std=c99 -D_POSIX_C_SOURCE=199309L -pthread $(INC) -c '. $name;
}
return join "\n", @list;
diff --git a/MyHTML.pm b/MyHTML.pm
index 0448011..826649a 100755
--- a/MyHTML.pm
+++ b/MyHTML.pm
@@ -22,7 +22,7 @@ use strict;
use vars qw($AUTOLOAD $VERSION $ABSTRACT @ISA @EXPORT);
BEGIN {
- $VERSION = 0.24;
+ $VERSION = 0.25;
$ABSTRACT = "Fast HTML Parser using Threads with no outside dependencies";
@ISA = qw(Exporter DynaLoader);