Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed wrong "-rpath" argument usage when linking libraries.

  • Loading branch information...
commit 405720eb5823ffbc9f1d43e8414dddb458665e6d 1 parent 1b1acc3
Fernando Silveira authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/build.mk
2  src/build.mk
@@ -198,7 +198,7 @@ $(notdir $(1))_INSTDIR= $(if $(INSTDIR),$(INSTDIR),$(PREFIX)/lib)
198 198 endif
199 199
200 200 ifeq ($$(subst -rpath,,$$($(notdir $(1))_LDFLAGS) $$(LDFLAGS)),$$($(notdir $(1))_LDFLAGS) $$(LDFLAGS))
201   -$(notdir $(1))_LDFLAGS+= -rpath $$($(notdir $(1))_INSTDIR)
  201 +$(notdir $(1))_LDFLAGS+= -Wl,-rpath,$$($(notdir $(1))_INSTDIR)
202 202 endif
203 203
204 204 DEFAULT_TARGETS+= $$($(notdir $(1))_LIBFILE)

0 comments on commit 405720e

Please sign in to comment.
Something went wrong with that request. Please try again.