From f03f6b21fd27beab2081aa73af0ad690db35049a Mon Sep 17 00:00:00 2001 From: Alexander Egorov Date: Fri, 15 Feb 2008 22:52:06 +0100 Subject: [PATCH] plugin .so --- fbreader/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fbreader/Makefile b/fbreader/Makefile index 9640067..8a701f4 100644 --- a/fbreader/Makefile +++ b/fbreader/Makefile @@ -20,6 +20,8 @@ all: .resources done; @echo -n "Linking $(TARGET) ..." @$(LD) $(LDFLAGS) -o $(TARGET) `find src -name *.o` -L$(ROOTDIR)/zlibrary/text -lzltext $(CORE_LIBS) + @$(LD) $(LDFLAGS) -o $(TARGET) `find src -name *.o` -L$(ROOTDIR)/zlibrary/text -lzltext $(CORE_LIBS) + $(LD) $(LDFLAGS) -shared -Wl,-soname,$(TARGET).so -o $(TARGET).so `find src -name *.o` -L$(ROOTDIR)/zlibrary/text -lzltext $(CORE_LIBS) $(ROOTDIR)/zlibrary/ui/src/nanox/application-desktop/Viewer.o @echo " OK" FBSHAREDIR = $(DESTDIR)$(subst %APPLICATION_PATH%\\\\,/,$(SHAREDIR))/FBReader -- 2.11.4.GIT