From cbdf6c547f9823049044c64aab2f8bed82d7a859 Mon Sep 17 00:00:00 2001 From: mem Date: Wed, 26 Apr 2006 02:54:57 +0000 Subject: [PATCH] Use makefiles that actually work git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@438 783a27ee-832a-0410-bc00-9f386506c6dd --- config/Makefile.gnu | 2 +- config/Makefile.kfreebsd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/Makefile.gnu b/config/Makefile.gnu index 496e6c7..69846ab 100644 --- a/config/Makefile.gnu +++ b/config/Makefile.gnu @@ -1,6 +1,6 @@ NAME = $(GLEW_NAME) CC = cc -LD = ld +LD = cc ifneq (undefined, $(origin GLEW_MX)) CFLAGS.EXTRA = -DGLEW_MX endif diff --git a/config/Makefile.kfreebsd b/config/Makefile.kfreebsd index ff82be3..ace80ff 100644 --- a/config/Makefile.kfreebsd +++ b/config/Makefile.kfreebsd @@ -1,11 +1,11 @@ NAME = $(GLEW_NAME) CC = cc -LD = ld +LD = cc ifneq (undefined, $(origin GLEW_MX)) CFLAGS.EXTRA = -DGLEW_MX endif PICFLAG = -fPIC -LDFLAGS.SO = -shared -soname $(LIB.SONAME) +LDFLAGS.SO = -shared -Wl,-soname $(LIB.SONAME) LDFLAGS.EXTRA = -L/usr/X11R6/lib LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 LDFLAGS.STATIC = -Wl,-Bstatic