Skip to content
Snippets Groups Projects
Commit 26899552 authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Add libltdl component

parent 4125dd0d
No related branches found
No related tags found
No related merge requests found
#@ load("@ytt:overlay", "overlay")
#@ load("/lib/create_component.lib.yml", "single_build_component")
#@ load("/global_options.lib.yml", "options")
#@ source_url = "https://mirror.kumi.systems/gnu/libtool/libtool-2.4.6.tar.gz"
#@yaml/text-templated-strings
---
#@ def _libltdl_args():
configure: |
mkdir -p "$BUILD_DIR"
extract.sh --into "$BUILD_DIR" "(@= source_url @)"
cd "$BUILD_DIR"
./configure \
--enable-ltdl-install \
--disable-static \
--prefix="$ORCHESTRA_ROOT" \
CFLAGS="(@= options["use_old_glibc_cflags"] @) -Wno-error" \
LDFLAGS="(@= options["use_old_glibc_lflags"] @) (@= options["modern_linker_flags"] @) -Wl,-rpath,$RPATH_PLACEHOLDER/lib"
build_system: make
dependencies:
- toolchain/host/gcc
#@ end
#@overlay/match by=overlay.all
#@overlay/match-child-defaults missing_ok=True
---
components:
libltdl: #@ single_build_component(**_libltdl_args())
......@@ -13,7 +13,7 @@ configure: |
cd $BUILD_DIR
./configure \
--disable-ltdl \
--enable-ltdl \
--disable-gdk-pixbuf \
--without-pangocairo \
--without-devil \
......@@ -64,6 +64,7 @@ configure: |
build_system: make
dependencies:
- clang-release
- libltdl
#@ end
---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment