summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpsd/patches/patch-SConstruct')
-rw-r--r--package/gpsd/patches/patch-SConstruct12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-SConstruct b/package/gpsd/patches/patch-SConstruct
new file mode 100644
index 000000000..0937d9f67
--- /dev/null
+++ b/package/gpsd/patches/patch-SConstruct
@@ -0,0 +1,12 @@
+--- gpsd-3.10.orig/SConstruct 2013-11-22 14:10:01.000000000 +0100
++++ gpsd-3.10/SConstruct 2014-02-07 19:33:32.000000000 +0100
+@@ -231,6 +231,9 @@ for (name, default, help) in pathopts:
+
+ env['VERSION'] = gpsd_version
+ env['PYTHON'] = sys.executable
++env['PLATFORM'] = "posix"
++env['SHLIBSUFFIX'] = ".so"
++env['SHLINKFLAGS'] = "-shared"
+
+ # Set defaults from environment. Note that scons doesn't cope well
+ # with multi-word CPPFLAGS/LDFLAGS/SHLINKFLAGS values; you'll have to