Let Makefile.in respect LDFLAGS from environment
Adjust adjust-compile-flags patch to make Makefile.in respect LDFLAGS from the environment. Previously it used CFLAGS and so on when it is present with a value and its own defaults otherwise. There are no defaults for LDFLAGS but it was set to the empty value only, overwriting the value from the environment. Likewise, use LDFLAGS in the initialisation of SHLIB_FLAGS. The values SHLIB_FLAGS are set to are now appended to LDFLAGS instead.
Showing with 33 additions and 6 deletions