summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.shared2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.shared b/Makefile.shared
index 05fd4ef..493c013 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -28,7 +28,7 @@ ifeq ($(findstring linux,$(MACHINE)), linux)
LIBIRECOVERY_STATIC_TARGET = libirecovery.a
LIBIRECOVERY_SHARED_TARGET = libirecovery.so
- LIBIRECOVERY_SHARED_LDFLAGS = $(LDFLAGS) -shared -W1,-soname,$(LIBIRECOVERY_SHARED_TARGET)
+ LIBIRECOVERY_SHARED_LDFLAGS = $(LDFLAGS) -shared -Wl,-soname,$(LIBIRECOVERY_SHARED_TARGET)
LIBIRECOVERY_SHARED_LIBS = $(LIBS)
endif