diff --git a/project/extras.mk b/project/extras.mk index 2c7824b..15e018c 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -15,7 +15,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): $(DSO_REF_SONAME) +pyext/%$(OS_LIB_SUFFIX): $(DSO_REF_SOLINK) $(CC) -shared -o $@ $^ $(LDFLAGS_SHARED) $(LDFLAGS_DYNEXT) -l$(PACKAGE)