001-link_fix.patch 1021 B

12345678910111213141516171819202122
  1. --- a/src/Makefile.in
  2. +++ b/src/Makefile.in
  3. @@ -418,7 +418,7 @@ clean-libLTLIBRARIES:
  4. rm -f $${locs}; \
  5. }
  6. libasound.la: $(libasound_la_OBJECTS) $(libasound_la_DEPENDENCIES) $(EXTRA_libasound_la_DEPENDENCIES)
  7. - $(AM_V_CCLD)$(libasound_la_LINK) -rpath $(libdir) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS)
  8. + $(AM_V_CCLD)$(libasound_la_LINK) -rpath $(DESTDIR)$(libdir) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS)
  9. mostlyclean-compile:
  10. -rm -f *.$(OBJEXT)
  11. --- a/src/pcm/scopes/Makefile.in
  12. +++ b/src/pcm/scopes/Makefile.in
  13. @@ -348,7 +348,7 @@ clean-pkglibLTLIBRARIES:
  14. rm -f $${locs}; \
  15. }
  16. scope-level.la: $(scope_level_la_OBJECTS) $(scope_level_la_DEPENDENCIES) $(EXTRA_scope_level_la_DEPENDENCIES)
  17. - $(AM_V_CCLD)$(scope_level_la_LINK) -rpath $(pkglibdir) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS)
  18. + $(AM_V_CCLD)$(scope_level_la_LINK) -rpath $(DESTDIR)$(pkglibdir) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS)
  19. mostlyclean-compile:
  20. -rm -f *.$(OBJEXT)