--- Makefile.orig 2010-05-28 10:41:25.000000000 +0000 +++ Makefile 2010-05-28 10:41:41.000000000 +0000 @@ -335,19 +335,11 @@ shared : intro $(shared_objects) libgoblin.$(so_suffix) : $(lib_objects) $(shell_objects) -ifeq ($(CC),gcc) $(LD) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) $(LIBS) -else - $(LD) -G -o $@ $^ $(LDFLAGS) $(LIBS) -endif @echo "...Shared object ($@) has been successfully linked" libglpk.$(so_suffix) : $(glpk_objects) $(wrap_objects) -ifeq ($(CC),gcc) $(LD) -shared -Wl,-soname,$@ -o $@ $(shell_objects) $^ -L. $(LDFLAGS) $(LIBS) -lgoblin -else - $(LD) -G -o $@ $(shell_objects) $^ -L. $(LDFLAGS) $(LIBS) -lgoblin -endif @echo "...Shared object ($@) has been successfully linked" @@ -367,11 +359,7 @@ else gosh : $(gosh_objects) $(shared_objects) -ifeq ($(CC),gcc) $(LD) -o $@ $(gosh_objects) -L. $(LDFLAGS) -lgoblin $(glpk) $(LIBS) -else - $(LD) -G -o $@ $(gosh_objects) -L. $(LDFLAGS) -lgoblin $(glpk) $(LIBS) -endif @echo "...Shell tool ($@) has been linked with shared object" endif