Linking rtmpdump frontends against the shared lib

Howard Chu hyc at highlandsun.com
Thu Jul 8 10:45:35 UTC 2010


Fabian Greffrath wrote:
> Am 08.07.2010 12:33, schrieb Howard Chu:
>> This patch doesn't do what you want; it links both the static and the
>> shared library into each executable.
>
> No, it doesn't, please have another look. I have put all references to
> $(LIBRTMP) for all executables on separate lines, so $^ does just
> substitute the remaining object files. That is, only if $^ does not
> include *all* dependencies that are defined for a specific target, but
> I am sure it doesn't.

It does. Go re-read the make documentation. Dependencies for a target are all 
considered as a unit, no matter how many lines you split them onto.

A new patch for the Makefile is now in SVN.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



More information about the pkg-multimedia-maintainers mailing list