Commit a166c47a authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen

Link the installed libdts to the installed libdca

parent e751823f
......@@ -12,7 +12,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libdca.pc libdts.pc
install-exec-hook:
ln -sf "libdca.a" "$(DESTDIR)$(libdir)/libdts.a"
ln -sf "$(DESTDIR)$(libdir)/libdca.a" "$(DESTDIR)$(libdir)/libdts.a"
uninstall-hook:
unlink "$(DESTDIR)$(libdir)/libdts.a"
  • There is a mistake with this. The symlink should not include $(DESTDIR)..

    ln -sf "$(libdir)/libdca.a" "$(DESTDIR)$(libdir)/libdts.a"

    Otherwise when using DESTDIR for a tmp install path the symlink will bogosly include a symlink to that path in the generated package instead of the proper destination path.

  • Yes but if that folder is gone, both are gone.

  • This change broke package builds in Debian. libdts.a ends up as ./usr/lib/x86_64-linux-gnu/libdts.a -> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libdca.a in the package.

  • mentioned in issue #3

    Toggle commit list
  • Sebastian Ramacher @sebastinas

    mentioned in merge request !6

    ·

    mentioned in merge request !6

    Toggle commit list
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment