summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-16 13:12:59 -0300
committerJames Almer <jamrial@gmail.com>2017-11-16 13:12:59 -0300
commitedef07569ccc4e10151c676bfd440412c8592f31 (patch)
tree4773f75bf68a2e3da31dedf30fcec96453093763 /compat
parent1146a7a363ab7169a7713d774571b63287508cc8 (diff)
parentbad7ce1d82f0b7da55086b8c6124eff0d35a1b1a (diff)
downloadffmpeg-streaming-edef07569ccc4e10151c676bfd440412c8592f31.zip
ffmpeg-streaming-edef07569ccc4e10151c676bfd440412c8592f31.tar.gz
Merge commit 'bad7ce1d82f0b7da55086b8c6124eff0d35a1b1a'
* commit 'bad7ce1d82f0b7da55086b8c6124eff0d35a1b1a': makedef: Pass EXTERN_PREFIX from configure to makedef Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'compat')
-rwxr-xr-xcompat/windows/makedef28
1 files changed, 1 insertions, 27 deletions
diff --git a/compat/windows/makedef b/compat/windows/makedef
index 0cd169c..7258b94 100755
--- a/compat/windows/makedef
+++ b/compat/windows/makedef
@@ -58,33 +58,7 @@ fi
IFS='
'
-# Determine if we're building for x86 or x86_64 and
-# set the symbol prefix accordingly.
-prefix=""
-if [ -n "$NM" ]; then
- case $ARCH in
- *86)
- prefix="_"
- ;;
- *)
- ;;
- esac
-else
- arch=$(dumpbin -headers ${libname} |
- tr '\t' ' ' |
- grep '^ \+.\+machine \+(.\+)' |
- head -1 |
- sed -e 's/^ \{1,\}.\{1,\} \{1,\}machine \{1,\}(\(.\{3,5\}\)).*/\1/')
-
- if [ "${arch}" = "x86" ]; then
- prefix="_"
- else
- if [ "${arch}" != "ARM" ] && [ "${arch}" != "x64" ] && [ "${arch}" != "ARM64" ]; then
- echo "Unknown machine type." >&2
- exit 1
- fi
- fi
-fi
+prefix="$EXTERN_PREFIX"
started=0
regex="none"
OpenPOWER on IntegriCloud