summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/library.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib/library.mak b/buildlib/library.mak
index b0cf47615..54acb6dd4 100644
--- a/buildlib/library.mak
+++ b/buildlib/library.mak
@@ -45,7 +45,7 @@ $(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR)
# The binary build rule
$(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
- -rm -f lib$($(@F)-LIBRARY).so* 2> /dev/null
+ -rm -f $(LIB)/lib$($(@F)-LIBRARY).so* 2> /dev/null
echo Building shared library $@
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) -o $@ \
-Wl,-soname -Wl,$($(@F)-SONAME) -shared $(filter %.opic,$^) \