Skip to content

Instantly share code, notes, and snippets.

@h4ck3rm1k3
Created April 1, 2012 10:49
Show Gist options
  • Save h4ck3rm1k3/2274506 to your computer and use it in GitHub Desktop.
Save h4ck3rm1k3/2274506 to your computer and use it in GitHub Desktop.
update of dbd-spatialite-read-only
Path: .
URL: http://dbd-spatialite.googlecode.com/svn/trunk
Repository Root: http://dbd-spatialite.googlecode.com/svn
Repository UUID: d2782b3c-602d-90c4-b058-38e27e1bf60e
Revision: 31
Node Kind: directory
Schedule: normal
Last Changed Author: lokkju
Last Changed Rev: 31
Last Changed Date: 2012-01-12 16:07:07 -0800 (Thu, 12 Jan 2012)
===================================================================
--- Makefile.PL (revision 31)
+++ Makefile.PL (working copy)
@@ -21,8 +21,8 @@
our %args = map { split /\s*=\s*/ } @ARGV;
my $BUILD_VERSION = "3.0.1";
-my $AMALGAMATION_LOCATION = $args{ AMALGAMATION_LOCATION } || "./amalgamation/$BUILD_VERSION/";
-my $LDFLAGS = $args{ LDFLAGS };
+my $AMALGAMATION_LOCATION = "/home/h4ck3rm1k3/experiments/libspatialite-amalgamation-3.0.1/";
+my $LDFLAGS = "-L/home/h4ck3rm1k3/perl5/lib/ -L/home/h4ck3rm1k3/perl5/usr/lib/ -lperl -lsqlite3 -shared ";
my $CCFLAGS = $args{ CCFLAGS };
# Because DBI generates a postamble at configure-time, we need
@@ -139,7 +139,7 @@
my @CC_INC = (
'-I.',
'-I$(DBI_INSTARCH_DIR)',
- "-I".$AMALGAMATION_LOCATION,
+ "-I/home/h4ck3rm1k3/perl5/include/",
);
my @CC_DEFINE = (
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment