blob: bbc48c74c3bd95f8ef81379170565c14c95bad4f [file] [log] [blame]
#!/bin/sh
#///////////////////////////////////////////////////////////////////////////////
#// Copyright (c) 2000-2019 Ericsson Telecom AB //
#// //
#// All rights reserved. This program and the accompanying materials //
#// are made available under the terms of the Eclipse Public License v2.0 //
#// which accompanies this distribution, and is available at //
#// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html //
#///////////////////////////////////////////////////////////////////////////////
sed -e '
s/SOLARIS_LIBS = -lsocket -lnsl/SOLARIS_LIBS = -lsocket -lnsl -lkstat -lpthread -lresolv -lrt -lpcap -lutil/g
s/SOLARIS8_LIBS = -lsocket -lnsl/SOLARIS8_LIBS = -lsocket -lnsl -lkstat -lpthread -lresolv -lrt -lpcap -lutil/g
s/LINUX_LIBS =/LINUX_LIBS = -lpthread -lpcap -lutil/g
s/WIN32_LIBS =/WIN32_LIBS = -lpthread -lpcap -lutil/g
s/COMPILER_FLAGS = -L/COMPILER_FLAGS = -L -w/g
' <$1 >$2