[packages/adapter: 251/631] - leave -L/usr ... alone

glen glen at pld-linux.org
Mon Sep 12 19:55:30 CEST 2016


commit 474f09442890fb0e89a3b0f0ffe0524f0b8b5739
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 13 15:35:41 2005 +0000

    - leave -L/usr ... alone
    
    Changed files:
        adapter.awk -> 1.241

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 5c1cc09..81f0c0b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -965,6 +965,9 @@ function use_macros()
 				# CFLAGS="-I/usr/include/ncurses is usually correct.
 				if (/-I\/usr\/include/)
 					continue;
+				# same for LDFLAGS="-L/usr..."
+				if (/-L\/usr/)
+					continue;
 
 				gsub(prefix, "%{_prefix}", $c)
 			}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list