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.

11 lines
380 B

  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