On Thu, Mar 05, 2015 at 03:01:10PM +0000, David Osborne wrote:

> I've been struggling to get --enable-rpath to work in our build (on Debian
> Wheezy). Up to now I'd always been patching Makefile.global.in during the
> Debian build to add -Wl,-rpath manually.

That was the same problem I had back in 2014.  I see now that Gustaf
committed a clean fix a month later (f7808bea8567, below).  It seems
to work well, both "--enable-rpath" (which is what I need) and
"--disable-rpath" are obeyed.  Thank you both for figuring that out!


$ hg -v log -p -r f7808bea8567 configure.ac 
changeset:   3548:f7808bea8567 
user:        Gustaf Neumann <neum...@wu-wien.ac.at> 
date:        Mon Apr 06 15:50:46 2015 +0200 
files:       configure.ac 
description: 
- Improved rpath handling in configure.ac for Linux distros, 
  where TCL_CC_SEARCH_FLAGS and TCL_LD_SEARCH_FLAGS are set 
  empty, like e.g.Debian (Many thanks to David Osborne for the recommendation) 
 
 
diff -r 4230345c76e4 -r f7808bea8567 configure.ac 
--- a/configure.ac      Mon Apr 06 15:06:15 2015 +0200 
+++ b/configure.ac      Mon Apr 06 15:50:46 2015 +0200 
@@ -133,8 +133,8 @@ 
     LDSO="\$(LDLIB)" 
     CCRPATHS="\$(CCRPATH)" 
     LDRPATHS="\$(LDRPATH)" 
-    CCRFLAG=$TCL_CC_SEARCH_FLAGS 
-    LDRFLAG=$TCL_LD_SEARCH_FLAGS 
+    CCRFLAG=$CC_SEARCH_FLAGS 
+    LDRFLAG=$LD_SEARCH_FLAGS 
     if test "$CCRFLAG" = "" ; then 
       CCRPATH= 
     fi 

-- 
Andrew Piskorski <a...@piskorski.com>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to