You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-geosciences/gpsd/files/gpsd-3.3-ldflags.patch

16 lines
482 B

https://bugs.gentoo.org/391299
split up linking flags into multiple arguments
--- gpsd-3.3/SConstruct
+++ gpsd-3.3/SConstruct
@@ -214,7 +214,7 @@
env.Replace(**{j: os.getenv(i)})
for flags in ["LDFLAGS", "LINKFLAGS", "SHLINKFLAGS", "CPPFLAGS"]:
if os.environ.has_key(flags):
- env.MergeFlags({flags : [os.getenv(flags)]})
+ env.MergeFlags({flags : Split(os.getenv(flags))})
# Placeholder so we can kluge together something like VPATH builds.