1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

libtt: add -ltirpc as a dependency if we are using it

This means that when linking against libtt, libtirpc should also
automatically be linked in if we determined that we are using tirpc.

This avoids having to link every program that uses libtt (almost all
of them) from having to have a $(TIRPCLIB) added to their link
commands.
This commit is contained in:
Jon Trulson 2019-11-19 18:09:14 -07:00
parent a77d9259f9
commit 31e69340ce

View file

@ -21,4 +21,8 @@ if SOLARIS
libtt_la_LIBADD += -lnsl -lsocket -lintl -ldl -lc -lw
endif
if LINUX
libtt_la_LIBADD += $(TIRPCLIB)
endif
libtt_la_LDFLAGS = -version-info 2:1:0