diff options
author | midipix <writeonce@midipix.org> | 2018-11-25 05:46:00 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-11-25 05:46:00 -0500 |
commit | 8bf8311194db24e64fdc3dfa89e1fa26f92ec85b (patch) | |
tree | 714ffa20509127e4bb97ec028d90f748f1677f07 /project | |
parent | 7660154bdfc7470cf2c4a5235f0073b61d4a5a0c (diff) | |
download | sbpython2-8bf8311194db24e64fdc3dfa89e1fa26f92ec85b.tar.bz2 sbpython2-8bf8311194db24e64fdc3dfa89e1fa26f92ec85b.tar.xz |
project: express dependency of python's extension modules on its main library.
Diffstat (limited to 'project')
-rw-r--r-- | project/extras.mk | 2 |
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) |