fix Haskell trac #7062 OBS-URL: https://build.opensuse.org/request/show/132936 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=108
12 lines
607 B
Diff
12 lines
607 B
Diff
diff -Nur ghc-7.4.2/rules/build-package-way.mk ghc-7.4.2-fix-7062/rules/build-package-way.mk
|
|
--- ghc-7.4.2/rules/build-package-way.mk 2012-06-06 19:10:25.000000000 +0200
|
|
+++ ghc-7.4.2-fix-7062/rules/build-package-way.mk 2012-07-30 08:59:49.000000000 +0200
|
|
@@ -74,6 +74,7 @@
|
|
"$$($1_$2_HC)" $$($1_$2_$3_ALL_HC_OPTS) $$($1_$2_$3_ALL_OBJS) \
|
|
-shared -dynamic -dynload deploy \
|
|
-dylib-install-name $(ghclibdir)/`basename "$$@" | sed 's/^libHS//;s/[-]ghc.*//'`/`basename "$$@"` \
|
|
+ $$(addprefix -l,$$($1_$2_EXTRA_LIBRARIES)) \
|
|
-no-auto-link-packages \
|
|
-o $$@
|
|
endif
|