summaryrefslogtreecommitdiff
path: root/community/fbreader/build-fix.patch
blob: 7316464b8ecbfb97a6342d077a2f9a223e83259e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- config.mk.orig	2010-02-23 18:22:10.000000000 +0000
+++ config.mk	2010-02-28 13:55:11.000000000 +0000
@@ -21,7 +21,7 @@
 ARCHIVER_LIBS ?= -lz -lbz2
 NETWORK_LIBS ?= -lcurl
 
-CFLAGS += -DINSTALLDIR=\"$(INSTALLDIR_MACRO)\" -DBASEDIR=\"$(SHAREDIR_MACRO)\" -DLIBDIR=\"$(LIBDIR_MACRO)\" -DIMAGEDIR=\"$(IMAGEDIR_MACRO)\" -DAPPIMAGEDIR=\"$(APPIMAGEDIR_MACRO)\" -DVERSION=\"$(VERSION)\"
+CFLAGS += -I$(srcdir)/liblinebreak-20080321 -DINSTALLDIR=\"$(INSTALLDIR_MACRO)\" -DBASEDIR=\"$(SHAREDIR_MACRO)\" -DLIBDIR=\"$(LIBDIR_MACRO)\" -DIMAGEDIR=\"$(IMAGEDIR_MACRO)\" -DAPPIMAGEDIR=\"$(APPIMAGEDIR_MACRO)\" -DVERSION=\"$(VERSION)\"
 ifeq "$(ZLSHARED)" "yes"
   CFLAGS += -fPIC -DZLSHARED
 endif
@@ -38,6 +38,8 @@
 	LDFLAGS += -pg
 endif
 
+LDFLAGS += -L$(srcdir)/liblinebreak-20080321/DebugDir
+
 ZINCLUDE = -I $(ROOTDIR)/zlibrary/core/include -I $(ROOTDIR)/zlibrary/text/include
 
 ZLSHARED ?= yes