--- enet-1.3.14/Makefile.am.orig	2016-01-14 08:45:22.158946100 +0300
+++ enet-1.3.14/Makefile.am	2016-01-14 08:45:34.832946100 +0300
@@ -16,7 +16,7 @@
 lib_LTLIBRARIES = libenet.la
 libenet_la_SOURCES = callbacks.c compress.c host.c list.c packet.c peer.c protocol.c unix.c win32.c
 # see info '(libtool) Updating version info' before making a release
-libenet_la_LDFLAGS = $(AM_LDFLAGS) -version-info 7:6:0
+libenet_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 7:6:0
 AM_CPPFLAGS = -I$(top_srcdir)/include
 
 ACLOCAL_AMFLAGS = -Im4
