From 75e487d82390580614b6a36f642b14f5860f1d98 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 26 Jun 2009 16:59:24 +0000 Subject: Fixed a couple of things up, now build creates a shared object as well as a non shared, checkinst.sh makes sure that symlinks are in /usr/lib and /usr/include so that you don't need a libbu++ symlink in any directories. If you still want the static version, then just delete the shared object, or switch your link line to do this: -Wl,-Bstatic -lbu++ -Wl,-Bdynamic Instead of just -lbu++, it'll include libbu++ as static, and everything else as dynamic. You could always just use -static, but then the whole thing is going to be static. Also, the dynamic library is already linked against all the extra libs you need, so no need to link against pthread or libbz2. --- src/buffer.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src') diff --git a/src/buffer.cpp b/src/buffer.cpp index abb4fed..fef64b1 100644 --- a/src/buffer.cpp +++ b/src/buffer.cpp @@ -15,3 +15,23 @@ Bu::Buffer::~Buffer() { } +void Bu::Buffer::start() +{ +} + +size_t Bu::Buffer::stop() +{ +} + +size_t Bu::Buffer::read( void *pBuf, size_t nBytes ) +{ +} + +size_t Bu::Buffer::write( const void *pBuf, size_t nBytes ) +{ +} + +void Bu::Buffer::flush() +{ +} + -- cgit v1.2.3