From 6510edf4bc4b61b49272970d1a311492e5b99285 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 17 Aug 2008 16:45:44 +0000 Subject: * Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ld warnings. * mkgroup.c: Change all global variables and most functions to static. (enum_local_groups): Add a print_current parameter to control whether entries for everything should be printed or just the current user. (enum_groups): Ditto. (main): Move call fetch_current_pgrp_sid earlier to avoid a NULL deference when no command line arguments are specified. Accommodate argument changes to above functions. Avoid printing SYSTEM account when print_current is specified. Issue error when extra stuff is found on the command line. * mkpasswd.c: Change all global variables and most functions to static. (enum_users): Add a print_current parameter to control whether entries for everything should be printed or just the current user. (main): Move call fetch_current_user_sid earlier to avoid a NULL deference when no command line arguments are specified. Accommodate argument change to above function. Avoid printing standard accounts when print_current is specified. Issue error when extra stuff is found on the command line. --- winsup/utils/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/utils/Makefile.in') diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index c8dd4c39d..3715f0aab 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -41,7 +41,7 @@ include $(srcdir)/../Makefile.common .PHONY: all install clean realclean warn_dumper warn_cygcheck_zlib ALL_LDLIBS := -lnetapi32 -ladvapi32 -ALL_LDFLAGS := -B$(newlib_build)/libc -B$(w32api_lib) $(LDFLAGS) $(ALL_LDLIBS) +ALL_LDFLAGS := -Wl,--enable-auto-import -B$(newlib_build)/libc -B$(w32api_lib) $(LDFLAGS) $(ALL_LDLIBS) ALL_DEP_LDLIBS := $(cygwin_build)/libcygwin.a ${patsubst -l%,\ $(w32api_lib)/lib%.a,$(ALL_LDLIBS) -lkernel32 -luser32} -- cgit v1.2.3