Am 09.07.2018 um 11:39 schrieb Moritz Barsnick: >> Can I specify which static libraries are used and which dynamic libraries >> are used to build ffmpeg? > > If both static and dynamic libraries are found, the linkers will by > default prefer the dynamic one. > > Choices can be manipulated, but no build system I know of supports > this, because it would make ./configure and the Makefiles too > complicated
--extra-ldflags='-I/rpmbuild/BUILD/ffmpeg-20180617/x264-static -L/rpmbuild/BUILD/ffmpeg-20180617/x264-static -ldl' this links my /rpmbuild/BUILD/ffmpeg-20180617/x264-static/x264.a built in the first step of 'ffmpeg-latest.spec' and on that machine x264-devel from the distribution is present too see my first repsone to that question with the wholke spec-file _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".