1 diff --git a/libevent/Makefile.am b/libevent/Makefile.am
2 index 09505bd..8114ad3 100644
3 --- a/libevent/Makefile.am
4 +++ b/libevent/Makefile.am
5 @@ -86,9 +86,6 @@ if INSTALL_LIBEVENT
6 dist_bin_SCRIPTS = event_rpcgen.py
9 -pkgconfigdir=$(libdir)/pkgconfig
10 -LIBEVENT_PKGCONFIG=libevent.pc
12 # These sources are conditionally added by configure.in or conditionally
13 # included from other files.
14 PLATFORM_DEPENDENT_SRC = \
15 @@ -108,16 +105,13 @@ EXTRA_DIST = \
16 LIBEVENT_LIBS_LA = libevent.la libevent_core.la libevent_extra.la
18 LIBEVENT_LIBS_LA += libevent_pthreads.la
19 -LIBEVENT_PKGCONFIG += libevent_pthreads.pc
22 LIBEVENT_LIBS_LA += libevent_openssl.la
23 -LIBEVENT_PKGCONFIG += libevent_openssl.pc
27 lib_LTLIBRARIES = $(LIBEVENT_LIBS_LA)
28 -pkgconfig_DATA = $(LIBEVENT_PKGCONFIG)
30 noinst_LTLIBRARIES = $(LIBEVENT_LIBS_LA)
32 @@ -196,7 +190,7 @@ NO_UNDEFINED =
36 -GENERIC_LDFLAGS = -version-info $(VERSION_INFO) $(RELEASE) $(NO_UNDEFINED)
37 +GENERIC_LDFLAGS = -static
39 libevent_la_SOURCES = $(CORE_SRC) $(EXTRA_SRC)
40 libevent_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS)
41 @@ -249,5 +243,7 @@ doxygen: FORCE
42 doxygen $(srcdir)/Doxyfile
45 -DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h
46 +DISTCLEANFILES = *~ ./include/event2/event-config.h