From f859ae036b5101a76f8fc2e0646cb140e509c598 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Mon, 1 Nov 2010 10:15:00 +0000 Subject: [PATCH] From: Xiangfu Liu fix gnuplot compile error SVN-Revision: 23758 --- utils/gnuplot/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/utils/gnuplot/Makefile b/utils/gnuplot/Makefile index d5bd43d7e..2cf8d3e01 100644 --- a/utils/gnuplot/Makefile +++ b/utils/gnuplot/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gnuplot PKG_VERSION:=4.4.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_INSTALL=1 @@ -12,8 +12,14 @@ PKG_MD5SUM:=e708665bd512153ad5c35252fe499059 include $(INCLUDE_DIR)/package.mk -EXTRA_LDFLAGS += \ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib +TARGET_CFLAGS += \ + -I$(STAGING_DIR)/usr/lib/libintl/include \ + -I$(STAGING_DIR)/usr/lib/libiconv/include + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib \ + -L$(STAGING_DIR)/usr/lib/libiconv/lib CONFIGURE_VARS += \ CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \ @@ -23,7 +29,7 @@ CONFIGURE_VARS += \ define Package/gnuplot SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd + DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd +libintl +libiconv TITLE:=A portable command-line driven graphing utility URL:=http://sourceforge.net/projects/gnuplot/ endef -- 2.30.2