diff -Naur a/Makefile.am b/Makefile.am
--- a/Makefile.am	2013-03-05 15:59:27.000000000 +0400
+++ b/Makefile.am	2013-12-24 08:37:17.617200000 +0400
@@ -9,7 +9,7 @@
 
 # libmng release @VERSION@
 libmng_la_LDFLAGS = \
-	-version-number @MNG_MAJOR_NR@:@MNG_MINOR_NR@:@MNG_RELEASE_NR@
+	-no-undefined -version-number @MNG_MAJOR_NR@:@MNG_MINOR_NR@:@MNG_RELEASE_NR@
 
 lib_LTLIBRARIES = libmng.la
 
diff -Naur a/Makefile.in b/Makefile.in
--- a/Makefile.in	2013-03-05 16:13:02.000000000 +0400
+++ b/Makefile.in	2013-12-24 08:37:44.340000000 +0400
@@ -329,7 +329,7 @@
 
 # libmng release @VERSION@
 libmng_la_LDFLAGS = \
-	-version-number @MNG_MAJOR_NR@:@MNG_MINOR_NR@:@MNG_RELEASE_NR@
+	-no-undefined -version-number @MNG_MAJOR_NR@:@MNG_MINOR_NR@:@MNG_RELEASE_NR@
 
 lib_LTLIBRARIES = libmng.la
 include_HEADERS = libmng.h libmng_conf.h libmng_types.h
