Commit a39e71de1b2bc24918ba1c076e4dbcbb904fa24a ("iprutils: Restrict
math/ncurses linking to iprconfig") mistakenly removed the ncurses
dependencies from iprconfig-static, which would break static build.
This restores the dependency, fixing the issue.

Signed-off-by: Gabriel Krisman Bertazi <kris...@linux.vnet.ibm.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 340eb7a..ea3e115 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ if STATIC_BUILD
 sbin_PROGRAMS += iprconfig-static
 
 iprconfig_static_SOURCES = iprconfig.c iprconfig.h
-iprconfig_static_LDADD= libipr.la
+iprconfig_static_LDADD= libipr.la $(IPRCONFIG_LIBS)
 iprconfig_static_LDFLAGS=-all-static
 endif
 
-- 
2.1.0


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Iprdd-devel mailing list
Iprdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iprdd-devel

Reply via email to