Skip to content

Commit

Permalink
Fix finding libbfd on newer Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalif committed Dec 8, 2015
1 parent 41bf5ba commit cc13b8b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/Modules/FindBFD.cmake
@@ -1,5 +1,5 @@
find_library( DL_LIBRARY NAMES dl PATH /usr/lib /usr/lib64 )
find_library( BFD_LIBRARY NAMES bfd PATH /usr/lib /usr/lib64 )
find_library( DL_LIBRARY NAMES dl PATH ${CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES} )
find_library( BFD_LIBRARY NAMES bfd PATH ${CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES} )

if ( DL_LIBRARY AND BFD_LIBRARY )
set( BFD_FOUND TRUE )
Expand All @@ -9,5 +9,4 @@ if ( BFD_FOUND )

message( STATUS "Found libbfd: ${BFD_LIBRARY}")


endif ( BFD_FOUND )

0 comments on commit cc13b8b

Please sign in to comment.