summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-SConstruct
blob: 0937d9f6701527c9f23a25c71b73c34dfb70b09d (plain)
1
2
3
4
5
6
7
8
9
10
11
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