diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-07 19:35:26 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-07 19:35:26 +0100 |
commit | a7bb571d7f433fba134a463562ec982212953f91 (patch) | |
tree | 77e944b60a918a2dfa46b871b5c1c7e4bb0d6754 /package/gpsd/patches | |
parent | 4f6040ec25279563206482675b237b5f388f8481 (diff) |
fix cross-compile on Darwin
Diffstat (limited to 'package/gpsd/patches')
-rw-r--r-- | package/gpsd/patches/patch-SConstruct | 12 |
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 |