mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2025-02-06 02:40:57 +00:00
Fix building of libsndfile-lite.
This commit is contained in:
parent
15e10ae9fb
commit
fbebccc190
@ -469,7 +469,7 @@ fix_configure_ac_file ('configure.ac')
|
||||
|
||||
print "Building and testing source."
|
||||
# Try --disable-shared --disable-gcc-opt
|
||||
if os.system ("./reconf && ./configure --disable-shared --disable-gcc-opt && make check"):
|
||||
if os.system ("./reconfigure.mk && ./configure --disable-shared --disable-gcc-opt && make check"):
|
||||
os.system ('PS1="FIX > " bash --norc')
|
||||
sys.exit (1)
|
||||
|
||||
@ -480,6 +480,7 @@ if os.system ("make distcheck"):
|
||||
|
||||
print "Copying tarball"
|
||||
if os.system ("cp %s.tar.gz %s" % (lite_version, source_dir)):
|
||||
print "??? %s.tar.gz ???" % lite_version
|
||||
os.system ('PS1="FIX > " bash --norc')
|
||||
sys.exit (1)
|
||||
|
||||
|
@ -190,8 +190,10 @@ main (int argc, char *argv [])
|
||||
if (do_all || ! strcmp (argv [1], "aiff_ima"))
|
||||
{ lcomp_test_short ("ima.aiff", SF_FORMAT_AIFF | SF_FORMAT_IMA_ADPCM, 2, 0.18) ;
|
||||
lcomp_test_int ("ima.aiff", SF_FORMAT_AIFF | SF_FORMAT_IMA_ADPCM, 2, 0.18) ;
|
||||
/* Lite remove start */
|
||||
lcomp_test_float ("ima.aiff", SF_FORMAT_AIFF | SF_FORMAT_IMA_ADPCM, 2, 0.18) ;
|
||||
lcomp_test_double ("ima.aiff", SF_FORMAT_AIFF | SF_FORMAT_IMA_ADPCM, 2, 0.18) ;
|
||||
/* Lite remove end */
|
||||
} ;
|
||||
|
||||
if (do_all || ! strcmp (argv [1], "au_ulaw"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user