Skip to content

Commit 64f1e1a

Browse files
committed
nnrpd: Order change in link command
Python 3.11 somehow advertises on Debian bookworm "-L/usr/lib/x86_64-linux-gnu" as LIBDIR whereas Python 3.9 advertises on Debian bullseye "-L/usr/lib/x86_64-linux-gnu/python3.9" as LIBDIR. It breaks the build of custom libraries whose lib path is mentioned afterwards. So just put PYTHON_LIBS at the end. Quick fix!
1 parent b7a18b5 commit 64f1e1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nnrpd/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ clean clobber distclean maintclean:
3232
## Compilation rules.
3333

3434
NNRPDLIBS = $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) \
35-
$(PERL_LIBS) $(PYTHON_LIBS) \
3635
$(CANLOCK_LDFLAGS) $(CANLOCK_LIBS) \
3736
$(SSL_LDFLAGS) $(SSL_LIBS) \
3837
$(CRYPTO_LIBS) $(SASL_LDFLAGS) $(SASL_LIBS) \
3938
$(ZLIB_LDFLAGS) $(ZLIB_LIBS) \
4039
$(BLACKLIST_LDFLAGS) $(BLACKLIST_LIBS) \
40+
$(PERL_LIBS) $(PYTHON_LIBS) \
4141
$(LIBS)
4242

4343
.c.o:

0 commit comments

Comments
 (0)