diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-19 17:23:16 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-19 17:23:16 -0700 |
commit | 61bfcb1fdf6f118e9347e668b9f9c4956b0b9999 (patch) | |
tree | 0af4b122dfa3736fb005ef2f16396ce9280ac5cb /win32/Makefile | |
parent | b5252103dfcf7eb843c888b9b66a90b2fbbe6e14 (diff) | |
download | syslinux-61bfcb1fdf6f118e9347e668b9f9c4956b0b9999.tar.gz |
dos, win32: use our own getopt_long() for both
Use our own version of getopt_long() for both the DOS and Win32
installers. Currently, on MinGW, getopt_long() is a static library,
but that could change in some installations.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'win32/Makefile')
-rwxr-xr-x | win32/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/Makefile b/win32/Makefile index 81a6e9ec..922913d3 100755 --- a/win32/Makefile +++ b/win32/Makefile @@ -35,7 +35,7 @@ WINCFLAGS := $(GCCWARN) -Wno-sign-compare -Os -fomit-frame-pointer \ -D_FILE_OFFSET_BITS=64 WINLDFLAGS := -Os -s endif -WINCFLAGS += -I. -I.. -I../libfat -I../libinstaller +WINCFLAGS += -I. -I.. -I../libfat -I../libinstaller -I../libinstaller/getopt WINCC := $(WINPREFIX)gcc WINAR := $(WINPREFIX)ar @@ -51,6 +51,7 @@ LIBSRC = ../libinstaller/fat.c \ ../libinstaller/syslxmod.c \ ../libinstaller/syslxopt.c \ ../libinstaller/setadv.c \ + ../libinstaller/getopt/getopt_long.c \ ../libinstaller/bootsect_bin.c \ ../libinstaller/ldlinux_bin.c \ ../libinstaller/mbr_bin.c \ @@ -59,7 +60,7 @@ LIBOBJS = $(patsubst %.c,%.obj,$(notdir $(LIBSRC))) LIB = syslinux.lib -VPATH = .:../libfat:../libinstaller +VPATH = .:../libfat:../libinstaller:../libinstaller/getopt TARGETS = syslinux.exe |