Needs -lresolv on Solaris
This commit is contained in:
parent
6ee7ae693d
commit
46ac7f0082
|
@ -20,14 +20,14 @@ all: $(TARGETS)
|
|||
|
||||
libSystem_OBJS = appclient.o appinterface.o appserver.o array.o buffer.o config.o error.o event.o hash.o object.o parser.o plugin.o string.o token.o
|
||||
libSystem_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
|
||||
libSystem_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) -lssl
|
||||
libSystem_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) -lssl
|
||||
|
||||
libSystem.a: $(libSystem_OBJS)
|
||||
$(AR) libSystem.a $(libSystem_OBJS)
|
||||
$(RANLIB) libSystem.a
|
||||
|
||||
libSystem.so: $(libSystem_OBJS)
|
||||
$(LD) -o libSystem.so -Wl,-soname,libSystem.so.0 $(libSystem_OBJS) -lssl
|
||||
$(LD) -o libSystem.so -Wl,-soname,libSystem.so.0 $(libSystem_OBJS) -lssl
|
||||
|
||||
appclient.o: appclient.c appinterface.h
|
||||
$(CC) $(libSystem_CFLAGS) -c appclient.c
|
||||
|
|
|
@ -8,7 +8,7 @@ dist=Makefile,appinterface.h,token.h
|
|||
[libSystem]
|
||||
type=library
|
||||
sources=appclient.c,appinterface.c,appserver.c,array.c,buffer.c,config.c,error.c,event.c,hash.c,object.c,parser.c,plugin.c,string.c,token.c
|
||||
ldflags=-lssl
|
||||
ldflags=-lresolv -lssl
|
||||
install=$(LIBDIR)
|
||||
|
||||
[appclient.c]
|
||||
|
|
Loading…
Reference in New Issue
Block a user