mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
When trying to link dynamic libraries with dependancies, e.g:
icc -shared -o libfoo.so foo.o -lbaz the ld wrapper gets confused and thinks that a static link is intended and the link fails. This patch appears to fix things. Submitted by: dfr
This commit is contained in:
parent
c292023538
commit
aec1848380
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79672
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= icc
|
||||
PORTVERSION= 7.1.011
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang linux devel
|
||||
MASTER_SITES=
|
||||
DISTNAME= l_cc_pu_${PORTVERSION}
|
||||
|
@ -205,6 +205,10 @@ main(int argc, char *argv[], char *envp[])
|
||||
dynamic++;
|
||||
continue;
|
||||
}
|
||||
if (ARGCMP("-shared")) {
|
||||
dynamic++;
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* Just link libstlport_icc* once when compiling the stlport
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= icc
|
||||
PORTVERSION= 7.1.011
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang linux devel
|
||||
MASTER_SITES=
|
||||
DISTNAME= l_cc_pu_${PORTVERSION}
|
||||
|
@ -205,6 +205,10 @@ main(int argc, char *argv[], char *envp[])
|
||||
dynamic++;
|
||||
continue;
|
||||
}
|
||||
if (ARGCMP("-shared")) {
|
||||
dynamic++;
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* Just link libstlport_icc* once when compiling the stlport
|
||||
|
Loading…
x
Reference in New Issue
Block a user