summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/extras.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 815471f..eab44c4 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -16,7 +16,7 @@ pyext/%$(OS_LIB_SUFFIX): LDFLAGS_SONAME =
pyext/%$(OS_LIB_SUFFIX): LDFLAGS_DSOEXT = -Wl,-soname -Wl,$(subst pyext/,,$@)
pyext/%$(OS_LIB_SUFFIX): LDFLAGS_DYNEXT = $(LDFLAGS_DSOEXT) $(LDFLAGS_PYEXT)
-pyext/%$(OS_LIB_SUFFIX):
+pyext/%$(OS_LIB_SUFFIX): $(DSO_REF_SONAME)
$(CC) -shared -o $@ $^ $(LDFLAGS_SHARED) $(LDFLAGS_DYNEXT) -l$(PACKAGE)