Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2500 closed defect (invalid)

Static libfdk-aac

Reported by: svnpenn Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Normally I can build fdk-aac like this

./configure \

--host i686-w64-mingw32 \
--prefix /usr/i686-w64-mingw32/sys-root/mingw \
--disable-shared

make install

and then build FFmpeg no problem. However I have noticed that if you choose to
build shared, it creates

libfdk-aac-0.dll
libfdk-aac.dll.a

From then on you cannot create an FFmpeg static build with any combination of
configure flags, until you delete these files. Is this by design or some error?

Change History (2)

in reply to:  description comment:1 by Carl Eugen Hoyos, 11 years ago

Resolution: invalid
Status: newclosed

(Duplicate of ticket #1968)

Replying to svnpenn:

From then on you cannot create an FFmpeg static build with any combination of
configure flags, until you delete these files.

Did you test --extra-ldflags=-static ?

Is this by design or some error?

It is the design of your toolchain (actually every toolchain I know) that it uses dynamic libraries if they are present and nothing else is specified.

comment:2 by svnpenn, 11 years ago

Carl, thanks for this. I was sleep deprived and forgot about this fun fact!

Note: See TracTickets for help on using tickets.