]> git.sesse.net Git - vlc/blobdiff - compat/Makefile.am
udp: fix locking (fixes #14234) and cancellation
[vlc] / compat / Makefile.am
index 225ce39aeb5763197f82daf8cc76079e791b9175..8f0c27c326b04d78283f9416c0768befe1f8d114 100644 (file)
@@ -1,4 +1,11 @@
-noinst_LTLIBRARIES = libcompat.la
-libcompat_la_SOURCES =
+pkglib_LTLIBRARIES = libcompat.la
+libcompat_la_SOURCES = dummy.c
 libcompat_la_LIBADD = $(LTLIBOBJS)
-libcompat_la_LDFLAGS = -no-undefined
+libcompat_la_LDFLAGS = -no-undefined -static
+
+BUILT_SOURCES = dummy.c
+CLEANFILES = dummy.c
+
+dummy.c:
+       $(AM_V_at)rm -f dummy.c
+       $(AM_V_GEN)echo '/* Automatically generated */' > dummy.c