From 0308fc2c962dfed419474a7ecabb70818e7f8603 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 18 Feb 2005 14:36:55 +0000 Subject: use CFLAGS and the codeclibs when linking .rocks on x11 sim git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6003 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/Makefile') diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 6af39327bc..1ecf3809fe 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile @@ -52,7 +52,7 @@ ifeq ($(SIMVER), x11) $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h @echo "LD $@" - @$(CC) $(APPCFLAGS) -DPLUGIN -shared $< -L$(OBJDIR) -lplugin -o $@ + @$(CC) $(CFLAGS) -shared $< -L$(OBJDIR) $(CODECLIBS) -lplugin -o $@ ifeq ($(UNAME),CYGWIN) # 'x' must be kept or you'll have "Win32 error 5" # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 -- cgit v1.2.3