LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File tanukiwrapper-makefile-linux-x86-32.patch of Package tanukiwrapper (Project openSUSE:Factory)

Index: src/c/Makefile-linux-x86-32
===================================================================
--- src/c/Makefile-linux-x86-32.orig	2006-10-17 16:21:14.000000000 +0200
+++ src/c/Makefile-linux-x86-32	2009-09-29 14:46:51.250646072 +0200
@@ -24,7 +24,7 @@
 	if test ! -d .deps; then mkdir .deps; fi
 
 wrapper: $(wrapper_SOURCE)
-	$(COMPILE) -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper
+	$(COMPILE) -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper -lm
 
 libwrapper.so: $(libwrapper_so_OBJECTS)
 	${COMPILE} -shared -fPIC $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
Index: src/c/Makefile-linux-x86-64
===================================================================
--- src/c/Makefile-linux-x86-64.orig	2006-10-17 16:21:14.000000000 +0200
+++ src/c/Makefile-linux-x86-64	2009-09-29 14:55:13.530644493 +0200
@@ -26,7 +26,7 @@
 	if test ! -d .deps; then mkdir .deps; fi
 
 wrapper: $(wrapper_SOURCE)
-	$(COMPILE) -pthread -lm $(wrapper_SOURCE) -o $(BIN)/wrapper
+	$(COMPILE) -pthread -lm $(wrapper_SOURCE) -o $(BIN)/wrapper -lm
 
 libwrapper.so: $(libwrapper_so_OBJECTS)
 	${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so