From c6a409bb3acf00b573d2e89d3da17adf669672e9 Mon Sep 17 00:00:00 2001 From: theraven Date: Sat, 13 Aug 2011 12:59:29 +0000 Subject: [PATCH] Some fixes to the Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5795769..ebcd7c3 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ all: libobjc.a libobjcxx.so.$(VERSION) libobjcxx.so.$(VERSION): libobjc.so.$(VERSION) $(OBJCXX_OBJECTS) @echo Linking shared Objective-C++ runtime library... - @$(CXX) -Wl,-shared -o $@ $(OBJCXX_OBJECTS) -lobjc + @$(CXX) -shared -o $@ $(OBJCXX_OBJECTS) -L. -lobjc libobjc.so.$(VERSION): $(OBJECTS) @echo Linking shared Objective-C runtime library...