Fix cross-compile RISC OS build.

svn path=/trunk/netsurf/; revision=4781
This commit is contained in:
John Tytgat 2008-07-28 21:55:46 +00:00
parent f8d4c6621d
commit 1f0e0d009a
1 changed files with 3 additions and 2 deletions

View File

@ -169,13 +169,14 @@ LDFLAGS += -lz
# RISC OS host flag setup
# ----------------------------------------------------------------------------
ifeq ($(TARGET),riscos)
ifeq ($(HOST),riscos)
LDFLAGS += -Xlinker -symbols=$(OBJROOT)/sym -lxml2 -lz -lm -lcurl -lssl \
-lcrypto -lcares
else
LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
endif
ifeq ($(TARGET),riscos)
$(eval $(call feature_enabled,NSSVG,-DWITH_NS_SVG,-lsvgtiny))
$(eval $(call feature_enabled,DRAW,-DWITH_DRAW,-lpencil))
$(eval $(call feature_enabled,SPRITE,-DWITH_SPRITE,))