]> source.dussan.org Git - tigervnc.git/commitdiff
Fix Xvnc dependency list (again)
authorPierre Ossman <ossman@cendio.se>
Tue, 5 Jul 2022 07:19:07 +0000 (09:19 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 5 Jul 2022 07:19:07 +0000 (09:19 +0200)
The previous commit was incorrect in that it overrides automake's
dependency list, rather than adding to it. So we need to make sure
things are duplicated between Xvnc_DEPENDENCIES and Xvnc_LDADD as
appropriate.

Use the same approach as the Xorg binary to keep things familiar.

unix/xserver/hw/vnc/Makefile.am

index f7ab05865d0fdfcdf51c36e7b3c1c2cf663cabb1..143f9b0a70281520ea5e8cd20c62d6da4fa6d82c 100644 (file)
@@ -44,9 +44,14 @@ Xvnc_CPPFLAGS = $(XVNC_CPPFLAGS) -DTIGERVNC -DNO_MODULE_EXTS \
        -DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(TIGERVNC_SRCDIR)/common -I$(TIGERVNC_SRCDIR)/unix/common \
        -I$(top_srcdir)/include ${XSERVERLIBS_CFLAGS}
 
-Xvnc_DEPENDENCIES = $(XVNC_LIBS) $(XSERVER_LIBS)
-Xvnc_LDADD = $(XVNC_LIBS) libvnccommon.la $(COMMON_LIBS) \
-       $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XVNC_SYS_LIBS) -lX11
+LOCAL_LIBS = \
+       $(XVNC_LIBS) \ \
+       $(XSERVER_LIBS) \
+       libvnccommon.la \
+       $(COMMON_LIBS)
+
+Xvnc_DEPENDENCIES = $(LOCAL_LIBS)
+Xvnc_LDADD = $(LOCAL_LIBS) $(XSERVER_SYS_LIBS) $(XVNC_SYS_LIBS) -lX11
 
 Xvnc_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)