Permalink
Browse files

Add missing flag for respecting EXTRA_LIBDIR

  • Loading branch information...
pgj authored and simonmar committed Jul 22, 2012
1 parent 62ab993 commit 1edad871a1bd144a825139670bfdd4352d3f7f73
Showing with 1 addition and 1 deletion.
  1. +1 −1 rules/build-package-way.mk
@@ -76,7 +76,7 @@ else
$$($1_$2_$3_LIB) : $$($1_$2_$3_ALL_OBJS) $$(ALL_RTS_LIBS) $$($1_$2_$3_DEPS_LIBS)
$$(call cmd,$1_$2_HC) $$($1_$2_$3_ALL_HC_OPTS) $$($1_$2_$3_ALL_OBJS) \
-shared -dynamic -dynload deploy \
- $$(addprefix -l,$$($1_$2_EXTRA_LIBRARIES)) \
+ $$(addprefix -l,$$($1_$2_EXTRA_LIBRARIES)) $$(addprefix -L,$$($1_$2_EXTRA_LIBDIRS)) \
-dylib-install-name $(ghclibdir)/`basename "$$@" | sed 's/^libHS//;s/[-]ghc.*//'`/`basename "$$@"` \
-no-auto-link-packages \
-o $$@

0 comments on commit 1edad87

Please sign in to comment.