]> code.citadel.org Git - citadel.git/blobdiff - citadel/Makefile.in
build fix for sparc-sun-solaris2.8; i think the dependencies should be
[citadel.git] / citadel / Makefile.in
index 03a7f7469785027c8cccc938c8e457ce6ebffc76..d04dba2a2be7b6c0f369e567aaec8ab1b872039d 100644 (file)
@@ -145,12 +145,12 @@ LIBSERV_OBJS = user_ops.lo citserver.lo sysdep.lo dynloader.lo tools.lo $(DATABA
        parsedate.lo genstamp.lo clientsocket.lo $(AUTH) $(LIBOBJS:.o=.lo)
 
 libcitserver.la: $(LIBSERV_OBJS)
-       $(LIBTOOL) $(CC) -rpath $(prefix) -no-undefined -avoid-version \
-       -o libcitserver.la $(LIBSERV_OBJS) $(GDBM) $(LIBS)
+       $(LIBTOOL) $(CC) $(LDFLAGS) -rpath $(prefix) -no-undefined -avoid-version \
+       -o libcitserver.la $(LIBSERV_OBJS) $(GDBM) $(LIBS) $(PTHREAD_LIBS) $(NETLIBS) $(RESOLV)
 
 citserver: $(SERV_OBJS) $(LIBTOOL) libcitserver.la
-       $(LIBTOOL) --mode=link $(CC) $(SERV_OBJS) $(LDFLAGS) $(PTHREAD_LIBS) \
-       $(LIBS) $(NETLIBS) $(RESOLV) libcitserver.la -o citserver
+       $(LIBTOOL) --mode=link $(CC) $(SERV_OBJS) $(LDFLAGS) libcitserver.la -o \
+       citserver $(PTHREAD_LIBS)
 
 .c.ro:
        $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(PTHREAD_DEFS) -c $< -o $@