Fixed a number of issues put into light by clang on FreeBSD 10

This commit is contained in:
Jean-Francois Dockes
2013-10-29 15:01:59 +01:00
parent a75d4c24ff
commit bb284d088e
7 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -19,7 +19,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,--warn-unresolved-symbols -Wl,-soname=$(LIBRECOLL) -o $(LIBRECOLL) $(OBJS) $(LIBXAPIAN) $(LIBICONV) $(X_LIBX11) $(LIBSYS)
$(CXX) -shared -Wl,--no-undefined -Wl,--warn-unresolved-symbols -Wl,-soname=$(LIBRECOLL) -o $(LIBRECOLL) $(OBJS) $(LIBXAPIAN) $(LIBICONV) $(X_LIBX11) $(LIBSYS)
rm -f librecoll.so
ln -s $(LIBRECOLL) librecoll.so