Revision 4a7e068b configure

View differences:

configure
2722 2722
        $nogas "GNU assembler not found, install gas-preprocessor"
2723 2723
fi
2724 2724

  
2725
check_ldflags -Wl,--as-needed
2726

  
2725 2727
if check_func dlopen; then
2726 2728
    ldl=
2727 2729
elif check_func dlopen -ldl; then
......
2951 2953

  
2952 2954
# add some linker flags
2953 2955
check_ldflags -Wl,--warn-common
2954
check_ldflags -Wl,--as-needed
2955 2956
check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libpostproc -Wl,-rpath-link,\$(BUILD_ROOT)/libswscale -Wl,-rpath-link,\$(BUILD_ROOT)/libavfilter -Wl,-rpath-link,\$(BUILD_ROOT)/libavdevice -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
2956 2957
test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
2957 2958

  

Also available in: Unified diff