Skip to content

Commit

Permalink
Ports: Make sure to remove the .la file after building libiconv
Browse files Browse the repository at this point in the history
Otherwise libtool gets confused and tries to link against files that
don't exist.
  • Loading branch information
gunnarbeutner authored and awesomekling committed Aug 14, 2021
1 parent e06660d commit bd43530
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Ports/libiconv/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ auth_type="sha256"
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
run ${SERENITY_ARCH}-pc-serenity-gcc -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.so -Wl,-soname,libiconv.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.a -Wl,--no-whole-archive
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.la
}

0 comments on commit bd43530

Please sign in to comment.