Skip to content

Commit

Permalink
install wrapper script for pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
jwt27 committed Jul 6, 2023
1 parent ad50164 commit b78ddaf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
djgpp-toolchain (11) UNRELEASED; urgency=medium

* Add wrapper script for pkg-config: i386-pc-msdosdjgpp-pkg-config

-- jwt27 <jwjagersma@gmail.com> Thu, 06 Jul 2023 18:50:44 +0200

djgpp-toolchain (10) unstable; urgency=medium

* dxe3gen version 1.0.5. This now uses gcc to invoke the assembler and
Expand Down
1 change: 1 addition & 0 deletions debian/djgpp-utils.install
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ usr/bin/i*86-pc-msdosdjgpp-dxegen
usr/bin/i*86-pc-msdosdjgpp-stubedit
usr/bin/i*86-pc-msdosdjgpp-dxe3res
usr/bin/i*86-pc-msdosdjgpp-setenv
usr/bin/i*86-pc-msdosdjgpp-pkg-config
9 changes: 9 additions & 0 deletions script/finalize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,22 @@ STOP
;;
esac

cat << STOP > ${BASE}/build/${TARGET}-pkg-config
#!/usr/bin/env bash
exec ${TARGET}-setenv pkg-config "\$@"
STOP

echo "Installing ${TARGET}-setenv"
chmod +x ${BASE}/build/${TARGET}-setenv
install_files ${BASE}/build/${TARGET}-setenv ${DST}/bin/
case `uname` in
MINGW*|MSYS*) install_files ${BASE}/build/setenv-${TARGET}.cmd ${DST}/bin/ 2> /dev/null ;;
esac

echo "Installing ${TARGET}-pkg-config"
chmod +x ${BASE}/build/${TARGET}-pkg-config
install_files ${BASE}/build/${TARGET}-pkg-config ${DST}/bin/

if [ ! -z "$(get_version gcc)" ]; then
for x in $(echo $ENABLE_LANGUAGES | tr "," " ")
do
Expand Down

0 comments on commit b78ddaf

Please sign in to comment.