OSDN Git Service

* Makefile.in: Add -lntdll to link line.
authorcgf <cgf>
Thu, 2 Aug 2007 14:23:22 +0000 (14:23 +0000)
committercgf <cgf>
Thu, 2 Aug 2007 14:23:22 +0000 (14:23 +0000)
(CYGWIN_OBJS): Include strfuncs.o.

winsup/cygserver/ChangeLog
winsup/cygserver/Makefile.in

index fbfc796..00eadd0 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-02  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * Makefile.in: Add -lntdll to link line.
+       (CYGWIN_OBJS): Include strfuncs.o.
+
 2007-08-02  Corinna Vinschen  <corinna@vinschen.de>
 
        * smallprint.c: New file.
index b12ff20..0671432 100644 (file)
@@ -38,12 +38,12 @@ override CXXFLAGS+=-MMD -DHAVE_DECL_GETOPT=0 -D__OUTSIDE_CYGWIN__ -DSYSCONFDIR="
 .SUFFIXES: .c .cc .a .o .d
 
 OBJS:= cygserver.o client.o process.o msg.o sem.o shm.o threaded_queue.o \
-       transport.o transport_pipes.o smallprint.o \
+       transport.o transport_pipes.o \
        bsd_helper.o bsd_log.o bsd_mutex.o \
        sysv_msg.o sysv_sem.o sysv_shm.o
 LIBOBJS:=${patsubst %.o,lib%.o,$(OBJS)}
 
-CYGWIN_OBJS:=$(cygwin_build)/version.o
+CYGWIN_OBJS:=$(cygwin_build)/smallprint.o $(cygwin_build)/strfuncs.o $(cygwin_build)/version.o
 
 CYGWIN_LIB:=$(cygwin_build)/libcygwin.a
 
@@ -68,7 +68,7 @@ libclean:
 fullclean: clean libclean
 
 cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS)
-       $(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build)
+       $(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build) -lntdll
 
 $(cygwin_build)/%.o: $(cygwin_source)/%.cc
        @$(MAKE) -C $(@D) $(@F)