projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a77d925
)
libtt: add -ltirpc as a dependency if we are using it
author
Jon Trulson
<jon@radscan.com>
Wed, 20 Nov 2019 01:09:14 +0000
(18:09 -0700)
committer
Jon Trulson
<jon@radscan.com>
Wed, 20 Nov 2019 01:09:21 +0000
(18:09 -0700)
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.
cde/lib/tt/lib/Makefile.am
patch
|
blob
|
history
diff --git
a/cde/lib/tt/lib/Makefile.am
b/cde/lib/tt/lib/Makefile.am
index 9fedc61888cef30f4b0bdc34966313aa756feb5e..52bcc2974acc8256b001fc603b3e73277da7c7df 100644
(file)
--- a/
cde/lib/tt/lib/Makefile.am
+++ b/
cde/lib/tt/lib/Makefile.am
@@
-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