diff options
Diffstat (limited to 'math/goblin/files/patch-Makefile')
-rw-r--r-- | math/goblin/files/patch-Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/math/goblin/files/patch-Makefile b/math/goblin/files/patch-Makefile new file mode 100644 index 0000000..926a151 --- /dev/null +++ b/math/goblin/files/patch-Makefile @@ -0,0 +1,34 @@ +--- Makefile.orig 2008-05-05 07:51:22.000000000 +0200 ++++ Makefile 2008-05-31 02:28:31.000000000 +0200 +@@ -318,19 +318,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" + + +@@ -349,11 +341,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 |