libevent 2.0.11
[git/cygwin-packages/libevent.git] / 2.0.11-no-undefined.patch
CommitLineData
4ff321aa
YS
1--- origsrc/libevent-2.0.11-stable/Makefile.am 2011-04-27 19:24:36.000000000 -0500
2+++ src/libevent-2.0.11-stable/Makefile.am 2011-06-01 21:55:31.238116700 -0500
3@@ -172,13 +172,8 @@ CORE_SRC = event.c evthread.c buffer.c \
4 evmap.c log.c evutil.c evutil_rand.c strlcpy.c $(SYS_SRC)
5 EXTRA_SRC = event_tagging.c http.c evdns.c evrpc.c
6
7-if BUILD_WIN32
8 NO_UNDEFINED = -no-undefined
9 MAYBE_CORE = libevent_core.la
10-else
11-NO_UNDEFINED =
12-MAYBE_CORE =
13-endif
14
15 GENERIC_LDFLAGS = -version-info $(VERSION_INFO) $(RELEASE) $(NO_UNDEFINED)
16
17@@ -192,6 +187,7 @@ libevent_core_la_LDFLAGS = $(GENERIC_LDF
18
19 if PTHREADS
20 libevent_pthreads_la_SOURCES = evthread_pthread.c
21+libevent_pthreads_la_LIBADD = $(MAYBE_CORE) $(SYS_LIBS)
22 libevent_pthreads_la_LDFLAGS = $(GENERIC_LDFLAGS)
23 endif
24
This page took 0.040226 seconds and 5 git commands to generate.