[vlc-devel] [PATCH 6/7] nvdec: Makefile.am: remove redundant LDFLAGS definition

Alexandre Janniaux ajanni at videolabs.io
Sat Mar 13 17:07:56 UTC 2021


Without conditional activation of the plugins through autoconf, -rpath
is always defined when adding the plugin libtool archive target to
codec_LTLIBRARIES or nvdec_LTLIBRARIES. If the target's LDFLAGS is not
defined, it will also use AM_LDFLAGS by default.
---
 modules/hw/nvdec/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/hw/nvdec/Makefile.am b/modules/hw/nvdec/Makefile.am
index eaeeb89e0a..90e8c2796d 100644
--- a/modules/hw/nvdec/Makefile.am
+++ b/modules/hw/nvdec/Makefile.am
@@ -9,7 +9,6 @@ codec_LTLIBRARIES += libnvdec_plugin.la
 endif
 
 libnvdec_chroma_plugin_la_SOURCES = hw/nvdec/chroma.c hw/nvdec/nvdec_fmt.h
-libnvdec_chroma_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(nvdecdir)'
 if HAVE_NVDEC
 nvdec_LTLIBRARIES = libnvdec_chroma_plugin.la
 endif
-- 
2.30.2



More information about the vlc-devel mailing list