diff options
author | wm4 <wm4@nowhere> | 2012-07-29 00:22:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-07-29 00:22:13 +0200 |
commit | 94b7db20bcb82efba04bf5c56fea3f545d547b12 (patch) | |
tree | 6dd9264190c2fd835c53d80844785d21830dcc0a /mangle.h | |
parent | 46b218ca346478d604061c8989191ad337124a30 (diff) | |
download | mpv-94b7db20bcb82efba04bf5c56fea3f545d547b12.tar.bz2 mpv-94b7db20bcb82efba04bf5c56fea3f545d547b12.tar.xz |
configure: remove pointless checks for yasm etc.
mplayer doesn't use yasm, as or ranlib. They were only needed to
build with internal libav, which is gone.
Also, get rid of nm. nm was used to find out how external symbols are
mangled. Replace this by a platform check in mangle.h. As far as I
know, sane systems don't mangle symbols. Windows prefixes them with
an underscore ("_symbol"). I don't know about OSX.
Diffstat (limited to 'mangle.h')
-rw-r--r-- | mangle.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,12 @@ #define attribute_used #endif +#if _WIN32 +#define EXTERN_PREFIX "_" +#else +#define EXTERN_PREFIX "" +#endif + #if ARCH_X86_64 && defined(PIC) #define MANGLE(a) EXTERN_PREFIX #a "(%%rip)" #else |