Skip to content

Commit

Permalink
Merge pull request #2150 from ddowling/master
Browse files Browse the repository at this point in the history
Ensure '-lrt' is included on the link line after linking to python li…
  • Loading branch information
xrmx authored Sep 19, 2022
2 parents fd014be + aa86def commit 879c413
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/python/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def get_python_version():
# hack for messy linkers/compilers
if '-lutil' in LIBS:
LIBS.append('-lutil')
if '-lrt' in LIBS:
LIBS.append('-lrt')
else:
try:
libdir = sysconfig.get_config_var('LIBDIR')
Expand Down

0 comments on commit 879c413

Please sign in to comment.