Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 405720eb5823ffbc9f1d43e8414dddb458665e6d 1 parent 1b1acc3
Fernando Silveira authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/build.mk
2  src/build.mk
View
@@ -198,7 +198,7 @@ $(notdir $(1))_INSTDIR= $(if $(INSTDIR),$(INSTDIR),$(PREFIX)/lib)
endif
ifeq ($$(subst -rpath,,$$($(notdir $(1))_LDFLAGS) $$(LDFLAGS)),$$($(notdir $(1))_LDFLAGS) $$(LDFLAGS))
-$(notdir $(1))_LDFLAGS+= -rpath $$($(notdir $(1))_INSTDIR)
+$(notdir $(1))_LDFLAGS+= -Wl,-rpath,$$($(notdir $(1))_INSTDIR)
endif
DEFAULT_TARGETS+= $$($(notdir $(1))_LIBFILE)
Please sign in to comment.
Something went wrong with that request. Please try again.