2012-03-19 13:34:12 +01:00
|
|
|
$NetBSD: patch-ah,v 1.2 2012/03/19 12:34:24 joerg Exp $
|
2006-12-19 23:54:51 +01:00
|
|
|
|
|
|
|
--- bsdLib.rules.orig 2006-02-03 04:02:44.000000000 +0100
|
|
|
|
+++ bsdLib.rules
|
2012-03-19 13:34:12 +01:00
|
|
|
@@ -192,7 +192,11 @@ LintLibReferences(varname,libname,libsou
|
|
|
|
#endif
|
|
|
|
#ifndef RpathLoadFlags
|
|
|
|
#if UseRpath
|
|
|
|
-#define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
|
|
|
|
+# ifdef RealProjectRoot
|
|
|
|
+# define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH) -Wl,-rpath,$(REALPROJECTROOT)/lib -L $(REALPROJECTROOT)/lib
|
|
|
|
+# else
|
|
|
|
+# define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
|
|
|
|
+# endif
|
|
|
|
#else
|
|
|
|
#define RpathLoadFlags /**/
|
|
|
|
#endif
|
|
|
|
@@ -229,11 +233,7 @@ LintLibReferences(varname,libname,libsou
|
2006-12-19 23:54:51 +01:00
|
|
|
* InstallSharedLibrary - generate rules to install the shared library.
|
|
|
|
* NOTE: file must be executable, hence "INSTBINFLAGS"
|
|
|
|
*/
|
|
|
|
-#if !defined(FreeBSDArchitecture) || defined(DragonFlyArchitecture)
|
|
|
|
INSTALLMINORREV = true
|
|
|
|
-#else
|
|
|
|
-INSTALLMINORREV = false
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
#ifndef InstallSharedLibrary
|
|
|
|
#define InstallSharedLibrary(libname,rev,dest) @@\
|