summarylogtreecommitdiffstats
path: root/no-undefined.patch
blob: 6c96336c1dd253d9edb1d134de6664317f9aae42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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