2011-06-14 19:53:47 +02:00
|
|
|
--- src/Makefile.am
|
2012-01-16 15:23:30 +01:00
|
|
|
+++ src/Makefile.am 2012-01-16 13:23:27.235645838 +0000
|
2010-11-08 13:55:33 +01:00
|
|
|
@@ -11,7 +11,7 @@ libmagic_la_SOURCES = magic.c apprentice
|
|
|
|
encoding.c compress.c is_tar.c readelf.c print.c fsmagic.c \
|
2012-01-16 15:23:30 +01:00
|
|
|
funcs.c file.h readelf.h tar.h apptype.c \
|
2010-11-08 13:55:33 +01:00
|
|
|
file_opts.h elfclass.h mygetopt.h cdf.c cdf_time.c readcdf.c cdf.h
|
|
|
|
-libmagic_la_LDFLAGS = -no-undefined -version-info 1:0:0
|
|
|
|
+libmagic_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libmagic.map -no-undefined -version-info 1:0:0
|
2011-06-14 19:53:47 +02:00
|
|
|
if MINGW
|
|
|
|
MINGWLIBS = -lgnurx -lshlwapi
|
|
|
|
else
|
|
|
|
--- src/libmagic.map
|
|
|
|
+++ src/libmagic.map 2011-06-14 00:00:00.000000000 +0000
|
|
|
|
@@ -0,0 +1,17 @@
|
2010-11-08 13:55:33 +01:00
|
|
|
+{
|
|
|
|
+global:
|
|
|
|
+ magic_buffer;
|
|
|
|
+ magic_check;
|
|
|
|
+ magic_close;
|
|
|
|
+ magic_compile;
|
|
|
|
+ magic_descriptor;
|
|
|
|
+ magic_errno;
|
|
|
|
+ magic_error;
|
|
|
|
+ magic_file;
|
|
|
|
+ magic_getpath;
|
2011-06-14 19:53:47 +02:00
|
|
|
+ magic_list;
|
2010-11-08 13:55:33 +01:00
|
|
|
+ magic_load;
|
|
|
|
+ magic_open;
|
|
|
|
+ magic_setflags;
|
|
|
|
+local: *;
|
|
|
|
+};
|