80f7a2a0df
- seperate ghc libraries from ghc bins - enable dynamic libs for ghc * ghc-libs is further seperated into static and dynamic packages * enabling dynamic support will reduce package size as well as there performance on device. closes #5973 Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
12 lines
487 B
Bash
12 lines
487 B
Bash
TERMUX_SUBPKG_DESCRIPTION="The Glasgow Haskell Compiler"
|
|
TERMUX_SUBPKG_DEPENDS="binutils, llvm, clang"
|
|
|
|
TERMUX_SUBPKG_INCLUDE="lib/ghc-${TERMUX_PKG_VERSION}/ghc-${TERMUX_PKG_VERSION}"
|
|
|
|
for f in $(find ${TERMUX_PREFIX}/lib/ghc-${TERMUX_PKG_VERSION}/bin -type f -not -name "ghc-pkg*" -print); do
|
|
TERMUX_SUBPKG_INCLUDE+=" ${f/${TERMUX_PREFIX}\//}"
|
|
done
|
|
for f in $(find ${TERMUX_PREFIX}/bin -type f -not -name "ghc-pkg*" -print); do
|
|
TERMUX_SUBPKG_INCLUDE+=" ${f/${TERMUX_PREFIX}\//}"
|
|
done
|