mystuff/x11/notion/patches/patch-build_libs_mk
2023-02-19 15:18:45 +01:00

25 lines
730 B
Plaintext

libtu,libext need want gettext
Index: build/libs.mk
--- build/libs.mk.orig
+++ build/libs.mk
@@ -10,14 +10,14 @@ CFLAGS += -DNOTION_RELEASE='"$(NOTION_RELEASE)"'
LIBS_SUBDIRS += libtu
LIBTU_DIR = $(TOPDIR)/libtu
-LIBTU_INCLUDES = -I$(TOPDIR)
-LIBTU_LIBS = -L$(LIBTU_DIR) -ltu
+LIBTU_INCLUDES = -I$(TOPDIR) -I${LOCALBASE}/include
+LIBTU_LIBS = -L$(LIBTU_DIR) -L${LOCALBASE}/lib -lintl -liconv -ltu
#libextl
LIBS_SUBDIRS += libextl
LIBEXTL_DIR = $(TOPDIR)/libextl
-LIBEXTL_INCLUDES = -I$(TOPDIR)
-LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl
+LIBEXTL_INCLUDES = -I$(TOPDIR) -I${LOCALBASE}/include
+LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -L${LOCALBASE}/lib -lintl -liconv -lextl
MKEXPORTS = $(LUA) $(LIBEXTL_DIR)/libextl-mkexports