diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-07-28 21:55:46 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-07-28 21:55:46 +0000 |
commit | 1f0e0d009aaba3ad8545b497ccb1912141e195a1 (patch) | |
tree | 69394538e2f7813f91d3e253e2279f7951c949d2 /Makefile | |
parent | f8d4c6621d1fc59b42960b9030e9cb808d5e0f2b (diff) | |
download | netsurf-1f0e0d009aaba3ad8545b497ccb1912141e195a1.tar.gz netsurf-1f0e0d009aaba3ad8545b497ccb1912141e195a1.tar.bz2 |
Fix cross-compile RISC OS build.
svn path=/trunk/netsurf/; revision=4781
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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,)) |