serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <phi...@codematters.co.uk>
Subject trunk installs shared library as lib-2.so
Date Thu, 28 Jan 2016 00:54:59 GMT
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

Mime
View raw message