From: Wouter Wijngaards Date: Wed, 13 Oct 2010 12:22:46 +0000 (+0000) Subject: windows crosscompile port X-Git-Tag: release-1.4.7rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68103c0ffb88ff9b2a76d7be7e399598ccae3d8f;p=thirdparty%2Funbound.git windows crosscompile port git-svn-id: file:///svn/unbound/trunk@2282 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/Makefile.in b/Makefile.in index 57d6a5c77..fceb9165c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -120,7 +120,7 @@ TESTBOUND_OBJ=$(addprefix $(BUILD),$(TESTBOUND_SRC:.c=.lo)) $(COMPAT_OBJ) LOCKVERIFY_SRC=testcode/lock_verify.c smallapp/worker_cb.c $(COMMON_SRC) LOCKVERIFY_OBJ=$(addprefix $(BUILD),$(LOCKVERIFY_SRC:.c=.lo)) $(COMPAT_OBJ) PETAL_SRC=testcode/petal.c -PETAL_OBJ=$(addprefix $(BUILD),$(PETAL_SRC:.c=.lo)) $(COMPAT_OBJ) +PETAL_OBJ=$(addprefix $(BUILD),$(PETAL_SRC:.c=.lo)) $(filter-out $(BUILD)compat/ctime_r.lo, $(COMPAT_OBJ)) PKTVIEW_SRC=testcode/pktview.c testcode/readhex.c smallapp/worker_cb.c \ $(COMMON_SRC) PKTVIEW_OBJ=$(addprefix $(BUILD),$(PKTVIEW_SRC:.c=.lo)) $(COMPAT_OBJ) diff --git a/testcode/petal.c b/testcode/petal.c index 2e6f1c53e..5d6e11e1d 100644 --- a/testcode/petal.c +++ b/testcode/petal.c @@ -566,7 +566,9 @@ int main(int argc, char* argv[]) if(argc != 0) usage(); +#ifdef SIGPIPE (void)signal(SIGPIPE, SIG_IGN); +#endif ERR_load_crypto_strings(); ERR_load_SSL_strings(); OpenSSL_add_all_algorithms();