Commit 0ecd4f79 authored by Steve Lhomme's avatar Steve Lhomme

contrib: dca: fix ln -s calls on Windows

autoconf detects what the system should use to link files
parent de8991f4
--- libdca/libdca/Makefile.am.ln-s 2018-05-15 15:46:09.000000000 +0200
+++ libdca/libdca/Makefile.am 2018-05-22 15:01:28.117715200 +0200
@@ -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_S)f "libdca.a" "$(DESTDIR)$(libdir)/libdts.a"
uninstall-hook:
unlink "$(DESTDIR)$(libdir)/libdts.a"
......@@ -20,6 +20,7 @@ $(TARBALLS)/libdca-$(DCA_VERSION).tar.bz2:
libdca: libdca-$(DCA_VERSION).tar.bz2 .sum-dca
$(UNPACK)
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR)
$(APPLY) $(SRC)/dca/dca-fix-ln-s-call.patch
$(call pkg_static,"./libdca/libdca.pc.in")
$(MOVE)
......
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