You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/12/27 05:23:09 UTC

svn commit: r729592 - /httpd/sandbox/mod_mbox-3/SConstruct

Author: pquerna
Date: Fri Dec 26 20:23:09 2008
New Revision: 729592

URL: http://svn.apache.org/viewvc?rev=729592&view=rev
Log:
Correctly link the util program to APR/APR-Util.

Modified:
    httpd/sandbox/mod_mbox-3/SConstruct

Modified: httpd/sandbox/mod_mbox-3/SConstruct
URL: http://svn.apache.org/viewvc/httpd/sandbox/mod_mbox-3/SConstruct?rev=729592&r1=729591&r2=729592&view=diff
==============================================================================
--- httpd/sandbox/mod_mbox-3/SConstruct (original)
+++ httpd/sandbox/mod_mbox-3/SConstruct Fri Dec 26 20:23:09 2008
@@ -55,7 +55,10 @@
 
 module = env.LoadableModule(target = "mod_mbox.so", source = [modsources, libsources])
 
-util = env.Program(target = 'mod-mbox-util', source = ['module-2.0/mod-mbox-util.c', lib])
+lenv = env.Clone()
+lenv.ParseConfig(apr_config + ' --link-ld --libs')
+lenv.ParseConfig(apu_config + ' --link-ld --libs')
+util = lenv.Program(target = 'mod-mbox-util', source = ['module-2.0/mod-mbox-util.c', lib])
 
 mod_path = apxs_query(env["APXS"], 'exp_libexecdir')
 bin_path = apxs_query(env["APXS"], 'exp_bindir')