You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by Philip Martin <ph...@codematters.co.uk> on 2016/01/28 01:54:59 UTC
trunk installs shared library as lib-2.so
Building trunk on Debian Linux using scons 2.3.1-2 the shared library is
installed as lib-2.so rather than libserf-2.so. I'm not familiar with
scons so not sure where the problem lies.
$ svn diff
Index: SConstruct
===================================================================
--- SConstruct (revision 1727197)
+++ SConstruct (working copy)
@@ -306,6 +306,8 @@
lib_static = env.StaticLibrary(LIBNAME, SOURCES)
lib_shared = env.SharedLibrary(SHLIBNAME, SOURCES + SHARED_SOURCES)
+print SHLIBNAME
+print lib_shared
if aprstatic:
env.Append(CPPDEFINES=['APR_DECLARE_STATIC', 'APU_DECLARE_STATIC'])
$ scons install
Checking for GNU-compatible C compiler...(cached) yes
$LIBPREFIXserf-2
['lib-2.so.2.0.0']
Checking for C header file stdbool.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
scons: done building targets.
$ ls /usr/local/serf-trunk/lib
lib-2.so lib-2.so.2 lib-2.so.2.0.0 libserf-2.a pkgconfig
--
Philip