Adding '-ld' to avoid link failures of dependent
libraries / applications.

Signed-off-by: Hannes Reinecke <[email protected]>
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index ffb53b9..ab14cb2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,7 @@ lib_LTLIBRARIES = libHBAAPI.la
 libHBAAPI_la_SOURCES = hbaapi.h vendorhbaapi.h
 nodist_libHBAAPI_la_SOURCES = hbaapilib.c
 libHBAAPI_la_LDFLAGS = -version-info 2:2:0
+libHBAAPI_la_LIBADD = -ldl
 
 nobase_include_HEADERS = hbaapi.h vendorhbaapi.h
 
-- 
1.8.1.4

_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel

Reply via email to