Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=90b0be1843d89052b5891220d2336dff7a1e8197

commit 90b0be1843d89052b5891220d2336dff7a1e8197
Author: James Buren <[email protected]>
Date:   Wed Oct 8 21:51:17 2014 -0500

scons: add code for building both static and shared versions of libpacman

diff --git a/SConstruct b/SConstruct
index 5a5c486..28045dd 100755
--- a/SConstruct
+++ b/SConstruct
@@ -233,3 +233,9 @@ libpacman_sources = [
# Add flib sources to libpacman sources for now because they are linked
# into the same library
libpacman_sources.extend(flib_sources)
+
+if GetOption('static'):
+       env.StaticLibrary('lib/libpacman/libpacman', libpacman_sources)
+
+if GetOption('shared'):
+       env.SharedLibrary('lib/libpacman/libpacman', libpacman_sources)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to