Remove unnecessary '-lrt' from common lib link

The '-lrt' added to the Makefile for the common library appears
to be unnecessary.

- On modern Linuxes, this library has been merged with libc, and the
  supplied library is empty.
- On older ones (e.g. Devuan 4), the library contains routines we
  do not use in xrdp (although we use 'shm_open()' in xorgxrdp).
- On FreeBSD 14 the library contains only mq_*  and timer_* routines
  which, again, are not required.
This commit is contained in:
matt335672 2024-02-21 12:43:53 +00:00
parent 9bc706f412
commit e821eddb62
1 changed files with 1 additions and 1 deletions

View File

@ -71,6 +71,6 @@ libcommon_la_SOURCES = \
$(PIXMAN_SOURCES) $(PIXMAN_SOURCES)
libcommon_la_LIBADD = \ libcommon_la_LIBADD = \
-lpthread -lrt \ -lpthread \
$(OPENSSL_LIBS) \ $(OPENSSL_LIBS) \
$(DLOPEN_LIBS) $(DLOPEN_LIBS)