]> git.sesse.net Git - vlc/blobdiff - modules/common.am
Complete flags factorization
[vlc] / modules / common.am
index 47aa97c3f42cd608c0878ee0d18eab2801f18d94..cdd432bd24d8fd7adf4948027f332495572aa8a0 100644 (file)
@@ -25,7 +25,7 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \
        -avoid-version -module -no-undefined \
        -shrext $(LIBEXT) \
         `$(VLC_CONFIG) --ldflags plugin $@`
-AM_LIBADD = $(LTLIBVLC)
+AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLC)
 
 if HAVE_COMPILER_EXPORT
 AM_LDFLAGS += -export-dynamic