Fix the undefined _res symbol linker error: we don't link anymore our own libnet.so
against default libs, which include BeOS's libnet.so)! git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3569 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2,6 +2,11 @@ SubDir OBOS_TOP src kits network libnet ;
|
|||||||
|
|
||||||
UsePrivateHeaders net ;
|
UsePrivateHeaders net ;
|
||||||
|
|
||||||
|
{
|
||||||
|
# Default libs include BeOS R5 libnet.so, something we don't want here!
|
||||||
|
LINKFLAGS on libnet.so = [ on libnet.so return $(LINKFLAGS) ] -nostdlib ;
|
||||||
|
}
|
||||||
|
|
||||||
SharedLibrary net :
|
SharedLibrary net :
|
||||||
socket.c
|
socket.c
|
||||||
select.c
|
select.c
|
||||||
@@ -42,9 +47,7 @@ SharedLibrary net :
|
|||||||
res_random.c
|
res_random.c
|
||||||
res_send.c
|
res_send.c
|
||||||
sethostent.c
|
sethostent.c
|
||||||
;
|
: root
|
||||||
|
|
||||||
LinkSharedOSLibs libnet.so :
|
|
||||||
;
|
;
|
||||||
|
|
||||||
# Installation -- in the test directory for the time being
|
# Installation -- in the test directory for the time being
|
||||||
|
|||||||
Reference in New Issue
Block a user