Skip to content

Commit

Permalink
build: remove GNUism from linker invocation
Browse files Browse the repository at this point in the history
Fix #1180
  • Loading branch information
xrmx committed Feb 14, 2016
1 parent 0920139 commit 5472279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/php/uwsgiplugin.py
Expand Up @@ -25,6 +25,6 @@

phplibdir = os.environ.get('UWSGICONFIG_PHPLIBDIR')
if phplibdir:
LIBS.append('-Wl,-rpath=%s' % phplibdir)
LIBS.append('-Wl,-rpath,%s' % phplibdir)

GCC_LIST = ['php_plugin', 'session']
2 changes: 1 addition & 1 deletion plugins/python/uwsgiplugin.py
Expand Up @@ -56,7 +56,7 @@ def get_python_version():
libdir = "%s/lib" % sysconfig.PREFIX

LDFLAGS.append("-L%s" % libdir)
LDFLAGS.append("-Wl,-rpath=%s" % libdir)
LDFLAGS.append("-Wl,-rpath,%s" % libdir)

os.environ['LD_RUN_PATH'] = "%s" % libdir

Expand Down

0 comments on commit 5472279

Please sign in to comment.