diff --git a/samples/atiopencl/Makefile b/samples/atiopencl/Makefile index e5dbc27f40..be9438aa07 100644 --- a/samples/atiopencl/Makefile +++ b/samples/atiopencl/Makefile @@ -10,7 +10,6 @@ CXXFLAGS = -g \ -I$(BOINC_API_DIR) \ -I ../../../ati-stream-sdk-v2.1-lnx32/include \ -lpthread \ - -lOpenCL \ -L. PROGS = atiopencl \ @@ -30,6 +29,7 @@ install: atiopencl atiopencl: atiopencl.o libstdc++.a $(CXX) $(CXXFLAGS) -o atiopencl atiopencl.o libstdc++.a \ + -lOpenCL -L../../../ati-stream-sdk-v2.1-lnx32/lib/x86 \ -lboinc_api -L$(BOINC_API_DIR) \ -lboinc -L$(BOINC_LIB_DIR)