Skip to content

Commit

Permalink
gnustep-base/gnustep-make: inline libobcj.so check, bug #612840
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
voyageur committed Mar 20, 2017
1 parent fbbf61e commit dba041e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions gnustep-base/gnustep-make/files/testlibobjc.m

This file was deleted.

6 changes: 3 additions & 3 deletions gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit gnustep-base eutils prefix toolchain-funcs
inherit gnustep-base prefix toolchain-funcs

DESCRIPTION="GNUstep Makefile Package"
HOMEPAGE="http://www.gnustep.org"
Expand Down Expand Up @@ -32,8 +32,8 @@ pkg_setup() {
# Find version in active gcc
for ver in {2..5};
do
if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} \
"${FILESDIR}"/testlibobjc.m -o /dev/null 2> /dev/null;
if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} -x objective-c \
- <<<$'int main() {}' -o /dev/null 2> /dev/null;
then
libobjc_version=libobjc.so.${ver}
fi
Expand Down

0 comments on commit dba041e

Please sign in to comment.