diff --git a/samples/opengl/cube/Makefile.in b/samples/opengl/cube/Makefile.in index 311847e12e..99fbe8b50a 100644 --- a/samples/opengl/cube/Makefile.in +++ b/samples/opengl/cube/Makefile.in @@ -15,7 +15,7 @@ program_dir = samples/opengl/cube PROGRAM=cube -LIBRARIES=$(OPENGLLIBS) ../../../lib/libwx_gtk_gl.so +LIBRARIES=$(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(OPENGLLIBS) OBJECTS=$(PROGRAM).o diff --git a/samples/opengl/isosurf/Makefile.in b/samples/opengl/isosurf/Makefile.in index 4c4867009d..90891fbdb7 100644 --- a/samples/opengl/isosurf/Makefile.in +++ b/samples/opengl/isosurf/Makefile.in @@ -17,7 +17,7 @@ DATAFILES = isosurf.dat.gz PROGRAM=isosurf -LIBRARIES=$(OPENGLLIBS) ../../../lib/libwx_gtk_gl.so +LIBRARIES=$(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(OPENGLLIBS) OBJECTS=$(PROGRAM).o diff --git a/samples/opengl/penguin/Makefile.in b/samples/opengl/penguin/Makefile.in index f65cb0ebb2..5b838e308d 100644 --- a/samples/opengl/penguin/Makefile.in +++ b/samples/opengl/penguin/Makefile.in @@ -17,7 +17,7 @@ DATAFILES = penguin.lwo PROGRAM=penguin -LIBRARIES=$(OPENGLLIBS) ../../../lib/libwx_gtk_gl.so +LIBRARIES=$(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(OPENGLLIBS) OBJECTS=$(PROGRAM).o lw.o trackball.o