diff options
author | gdt <gdt> | 2004-06-30 17:36:11 +0000 |
---|---|---|
committer | gdt <gdt> | 2004-06-30 17:36:11 +0000 |
commit | ed3ee2da03d7bb8f79719caf6f1efcb786e9cfd5 (patch) | |
tree | 56598c6fafa03c1e38c570c70df06b7b53668078 /zebra/main.c | |
parent | 81eba1c7bf14aaaa518de2a9c11272fb8ffe2396 (diff) | |
download | quagga-ed3ee2da03d7bb8f79719caf6f1efcb786e9cfd5.tar.bz2 quagga-ed3ee2da03d7bb8f79719caf6f1efcb786e9cfd5.tar.xz |
Add libtool support.
libzebra and libospfapiclient are now built shared, and linked shared
with the daemons. This reduces the memory needed when running
multiple daemons; each daemon is at least 150k smaller. Static
libraries are still built, and libtool should use them on platforms
which don't have shared libaries. As with autoconf, the user of a
distribution does not need libtool; one just needs that to build from
CVS.
libospf.a is still a non-shared library, and still installed, not
because that makese sense, but because I don't understand why it is
the way it is now.
Note that the tree was tagged 'libtool-before' just before this commit.
Diffstat (limited to 'zebra/main.c')
-rw-r--r-- | zebra/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index 1083ae57..6d40d708 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -48,6 +48,9 @@ struct zebra_t zebrad = pid_t old_pid; pid_t pid; +/* Pacify zclient.o in libzebra, which expects this variable. */ +struct thread_master *master; + /* Route retain mode flag. */ int retain_mode = 0; |