build with lib moved to recoll subdir works for debian

This commit is contained in:
Jean-Francois Dockes
2012-12-30 16:11:51 +01:00
parent 48b2d8650a
commit 49ce79d6a6
4 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ librecoll.a : \$(DEPS) \$(OBJS)
# no effort whatsoever to maintain any kind of ABI compat in this lib. Only
# programs or modules from the same Recoll release can be compatible.
\$(LIBRECOLL): \$(DEPS) \$(OBJS)
g++ -shared -Wl,--no-undefined -Wl,-rpath=\$(libdir) \
g++ -shared -Wl,--no-undefined \
-Wl,-soname=\$(LIBRECOLL) -o \$(LIBRECOLL) \$(OBJS) \
-lxapian -lz -lX11 -lpthread -ldl
rm -f librecoll.so