From 5d83b8bcbe9c2c69518ed8d22a1ae1bba72cd0b8 Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Sun, 31 May 2015 14:36:47 +1200 Subject: [PATCH] Include current directory for library search path * Fixes an issue with running locally built yab prior to installing. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 70bd4a0..f132dd7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -70,7 +70,7 @@ YAB_OBJECTS = YabInterface.o YabWindow.o YabView.o YabBitmapView.o YabText.o Yab ## yab: libyab.so YabMain.o main.o bison.o flex.o RdefApply YAB.rdef $(GPP) $(GPP_OPT) -o $@ YabMain.o main.o bison.o flex.o $(LIBPATH) libyab.so $(LIB) - $@ RdefApply YAB.rdef $@ + LIBRARY_PATH=$$LIBRARY_PATH:. $@ RdefApply YAB.rdef $@ addattr -t mime BEOS:TYPE application/x-vnd.be-elfexecutable $@ libyab.so: $(YAB_OBJECTS)