001-config.mk.in.patch 380 B

1234567891011
  1. --- a/config.mk.in
  2. +++ b/config.mk.in
  3. @@ -175,7 +175,7 @@ ifeq ($(patsubst linux-gnu%,linux-gnu,$(
  4. shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN))
  5. shliblefn = $(1:%=%.$(SHLIB_SUFFIX))
  6. # SHLIB_CLIB = -lc
  7. - LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB)
  8. + LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) $(LDFLAGS)
  9. CFLAGS_SHLIB=-fPIC
  10. endif