Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: using libplugin.a

using libplugin.a

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 18 May 2004 17:19:59 +0200 (CEST)

Hey plugin authors! (mostly Jörn and Jens to start with)

Once the attached patch is applied, you should be able to put C sources in
apps/plugins/lib and have them built into a lib that is used when linking
plugins. (This patch only patches the Makefile in the plugins directory)

Using this technique, you should be able to put the grayscale code into the
lib and make the JPEG viewer simply link with the lib to get those functions.

This also assumes that you put libplugin-headers in the plugins/lib dir, so I
figure a grayscale.h header file is suitable to put there.

I'm posting it here since I want it slightly tested before I commit.

-- 
 Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/



_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox

Received on 2004-05-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy