6679177 use LDLIBS for linker flags

1 file Authored by Mike Frysinger 10 years ago, Committed by jsynacek 10 years ago,
1 file changed. 2 lines added. 1 lines removed.
    use LDLIBS for linker flags
    
    When you put -lfoo into the dependency line of make, it forces it to
    search /lib and /usr/lib for files to link against.  This can cause
    problems when trying to cross-compile or build for different ABIs.
    Use the standard LDLIBS variable instead.
    
    URL: https://bugs.gentoo.org/505760
    Reported-by: Georgi Georgiev <chutzimir@gmail.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    
        
file modified
+2 -1