This feels like a horrible hack, a better suggestion is welcome...
---
 libavutil/x86/x86inc.asm |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index 2617cdf..a8fb84e 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -637,7 +637,11 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
     %endif
     %xdefine current_function %1
     %ifidn __OUTPUT_FORMAT__,elf
-        global %1:function hidden
+        %ifndef public_func_%1
+            global %1:function hidden
+        %else
+            global %1:function
+        %endif
     %else
         global %1
     %endif
-- 
1.7.9.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to