mirror of https://github.com/neutrinolabs/xrdp
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:
parent
9bc706f412
commit
e821eddb62
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue