BeOS: I can now use *ng and jpeg... Also link to libtranslation, it's used to load the throbber pngs. Switched from beres to rc as ressource compiler, it should allow importing external css and html files from resources.

svn path=/trunk/netsurf/; revision=4264
This commit is contained in:
François Revel 2008-06-05 22:54:49 +00:00
parent 524e29c4df
commit 846c65b899
1 changed files with 5 additions and 3 deletions

View File

@ -142,7 +142,7 @@ ifeq ($(HOST),beos)
# some people do *not* have libm...
LDFLAGS := -L/boot/home/config/lib
LDFLAGS += -lxml2 -lz -lcurl -lssl -lcrypto -ljpeg -liconv
#LDFLAGS += -lmng
LDFLAGS += -lmng -ljpeg
else
LDFLAGS := $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
LDFLAGS += -lz -lm -lmng -ljpeg
@ -216,6 +216,7 @@ CFLAGS += -g -O0
# -DDEBUG=1
BEOS_BERES := beres
BEOS_RC := rc
BEOS_XRES := xres
BEOS_SETVER := setversion
BEOS_MIMESET := mimeset
@ -247,7 +248,7 @@ else
# cross: Haiku ?
NETLDFLAGS := -lnetwork
endif
LDFLAGS += -lbe $(NETLDFLAGS)
LDFLAGS += -lbe -ltranslation $(NETLDFLAGS)
endif
@ -318,7 +319,8 @@ endif
ifeq ($(TARGET),beos)
$(RSRC_BEOS): $(RDEF_BEOS)
$(Q)$(BEOS_BERES) -o $@ $<
$(VQ)echo " RC: $<"
$(Q)$(BEOS_RC) -o $@ $<
endif
clean-target: