Use constants rather than string comparison for a saner API.
[dhcpcd-ui] / mk / lib.mk
index 81a859856a4ed4056bca73bcb70c83c7bff06d04..c2db4f2aa524be4b699764250c452e23327875ef 100644 (file)
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -1,7 +1,5 @@
 # rules to build a library
 
-include ${TOPDIR}/iconfig.mk
-
 SHLIB=                 lib${LIB}.so.${SHLIB_MAJOR}
 SHLIB_LINK=            lib${LIB}.so
 LIBNAME=               lib${LIB}.a
@@ -9,7 +7,7 @@ SONAME?=                ${SHLIB}
 
 OBJS+=                 ${SRCS:.c=.o}
 SOBJS+=                        ${OBJS:.o=.So}
-LIBS?=                 ${LIBNAME} ${SHLIB}
+LIBS                 ${LIBNAME} ${SHLIB}
 
 CLEANFILES+=           ${OBJS} ${SOBJS} ${LIBS} ${SHLIB_LINK}