Fixed socket/nsl lib problem. Hopefully this will also work on Linux.

svn path=/trunk/boinc/; revision=253
This commit is contained in:
Eric Heien 2002-07-30 00:17:13 +00:00
parent c454b5ff74
commit 272e641d29
1 changed files with 6 additions and 4 deletions

View File

@ -36,6 +36,8 @@ MYSQL_LIBS = \
-L/sw/lib/mysql -lmysqlclient -L/usr/local/lib -lz \ -L/sw/lib/mysql -lmysqlclient -L/usr/local/lib -lz \
-lm -lm
CLIBS = @LIBS@
LIBS = \ LIBS = \
backend_lib.o \ backend_lib.o \
process_result_template.o \ process_result_template.o \
@ -48,11 +50,11 @@ LIBS = \
.C.o: .C.o:
$(CC) -c -o $*.o $< $(CC) -c -o $*.o $<
create_work: create_work.o $(LIBS) $(CRYPTO_LIBS) create_work: create_work.o $(CLIBS) $(LIBS) $(CRYPTO_LIBS)
$(CC) create_work.o $(CRYPTO_LIBS) $(LIBS) $(MYSQL_LIBS) -o create_work $(CC) create_work.o $(CRYPTO_LIBS) $(CLIBS) $(LIBS) $(MYSQL_LIBS) -o create_work
add: add.o $(LIBS) $(CRYPTO_LIBS) add: add.o $(CLIBS) $(LIBS) $(CRYPTO_LIBS)
$(CC) add.o $(LIBS) $(CRYPTO_LIBS) $(MYSQL_LIBS) -o add $(CC) add.o $(CLIBS) $(LIBS) $(CRYPTO_LIBS) $(MYSQL_LIBS) -o add
country_select: country_select.o ../lib/countries.o country_select: country_select.o ../lib/countries.o
$(CC) country_select.o ../lib/countries.o -o country_select $(CC) country_select.o ../lib/countries.o -o country_select