Index: Makefile.target
===================================================================
--- Makefile.target (Revision 13965)
+++ Makefile.target (Arbeitskopie)
@@ -49,25 +49,12 @@
LDFLAGS += -lm -Wl,--whole-archive $(shell $(PKG_CONFIG) --libs libnsfb) -Wl,--no-whole-archive
-ifeq ($(HOST),mint)
- # freemint does not support pkg-config for libcurl
- CFLAGS += $(shell curl-config --cflags)
+CFLAGS += $(shell $(PKG_CONFIG) --cflags libcurl)
- LDFLAGS += $(shell curl-config --libs)
- LDFLAGS += $(shell $(PKG_CONFIG) --libs libhubbub openssl libcss)
- # xml-config returns -lsocket which is not needed and does not
- # exist on all systems. because of that - hardcoded reference to
- # libxml-2.0 here.
- LDFLAGS += -L/usr/lib/ -lz -liconv
- LDFLAGS += -lm
-else
- CFLAGS += $(shell $(PKG_CONFIG) --cflags libcurl)
+LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl libdom openssl)
+LDFLAGS += $(shell $(PKG_CONFIG) --libs libcss)
- LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl libdom openssl)
- LDFLAGS += $(shell $(PKG_CONFIG) --libs libcss)
-endif
-
# ----------------------------------------------------------------------------
# built-in resource setup
# ----------------------------------------------------------------------------
Attached is a patch which removes an exceptional case in the
Makefile.target from framebuffer frontend.
1. The case is not needed.
2. The official SDL framebuffer target does not work for big endian
machines, so there is no sense in
trying to ease the build.
Greets,
Ole
No comments:
Post a Comment