build with lib moved to recoll subdir works for debian
This commit is contained in:
+1
-1
@@ -18,7 +18,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) -Wl,-soname=$(LIBRECOLL) -o $(LIBRECOLL) $(OBJS) -lxapian -lz -lX11 -lpthread -ldl
|
||||
g++ -shared -Wl,--no-undefined -Wl,-soname=$(LIBRECOLL) -o $(LIBRECOLL) $(OBJS) -lxapian -lz -lX11 -lpthread -ldl
|
||||
rm -f librecoll.so
|
||||
ln -s $(LIBRECOLL) librecoll.so
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user