aboutsummaryrefslogtreecommitdiff
path: root/lang/ifc
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-06-18 03:58:11 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-06-18 03:58:11 +0000
commite1ece4900c1d0669190dfc1e407b5a718238a328 (patch)
tree583aed93cc2c213bb8419718835db37536cd7a9d /lang/ifc
parent917df0ba46cc84cad5cf19a1dbfd10231317afd8 (diff)
downloadports-e1ece4900c1d0669190dfc1e407b5a718238a328.tar.gz
ports-e1ece4900c1d0669190dfc1e407b5a718238a328.zip
Notes
Diffstat (limited to 'lang/ifc')
-rw-r--r--lang/ifc/files/ld.c4
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;