diff options
author | Maho Nakata <maho@FreeBSD.org> | 2005-06-18 03:58:11 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2005-06-18 03:58:11 +0000 |
commit | e1ece4900c1d0669190dfc1e407b5a718238a328 (patch) | |
tree | 583aed93cc2c213bb8419718835db37536cd7a9d /lang/ifc | |
parent | Fix build on 4.x, regex.h requires types.h for off_t. (diff) |
Ifc trying to link against libdl, which is missing on freebsd.
Submitted by: Aexander S. Usov <A.S.Usov@KVI.nl>
Notes
Notes:
svn path=/head/; revision=137669
Diffstat (limited to 'lang/ifc')
-rw-r--r-- | lang/ifc/files/ld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ifc/files/ld.c b/lang/ifc/files/ld.c index 475b7fdce538..7e6beff75da4 100644 --- a/lang/ifc/files/ld.c +++ b/lang/ifc/files/ld.c @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.7 2004-12-17 05:40:56 maho Exp $"); +__FBSDID("$FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.8 2005-06-18 03:58:11 maho Exp $"); #include <err.h> #include <stdio.h> @@ -190,7 +190,7 @@ main(int argc, char *argv[], char *envp[]) /* ifc8 */ ARGCMP(i, "-lpthread") || /* ifc8 */ - ARGCMP(i, "-PIC") || + ARGCMP(i, "-PIC") || ARGCMP(i, "-ldl") || (ARGCMP(i, "-m") && i<argc-1 && ARGCMP(i+1, "elf_i386")) || (ARGCMP(i, "elf_i386") && i != 0 && ARGCMP(i-1, "-m"))) continue; |