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. (cherry picked from commit e821eddb62c5dc4872922e9244d2e407e0361b57)
This commit is contained in:
parent
40b0eaf455
commit
2ee512ba52
@ -71,6 +71,6 @@ libcommon_la_SOURCES = \
|
||||
$(PIXMAN_SOURCES)
|
||||
|
||||
libcommon_la_LIBADD = \
|
||||
-lpthread -lrt \
|
||||
-lpthread \
|
||||
$(OPENSSL_LIBS) \
|
||||
$(DLOPEN_LIBS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user