aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f40ccf8..2b03051 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ include config.mak
5CFLAGS=-Wall -O3 -fomit-frame-pointer 5CFLAGS=-Wall -O3 -fomit-frame-pointer
6 6
7ifeq ($(BUILD_SHARED),yes) 7ifeq ($(BUILD_SHARED),yes)
8 TARGETS += libdl.dll libdl.dll.a 8 TARGETS += libdl.dll
9 SHFLAGS += -Wl,--out-implib,libdl.dll.a 9 SHFLAGS += -Wl,--out-implib,libdl.dll.a
10 INSTALL += shared-install 10 INSTALL += shared-install
11endif 11endif
@@ -31,7 +31,7 @@ libdl.a: $(LIB_OBJS)
31 $(AR) cru $@ $^ 31 $(AR) cru $@ $^
32 $(RANLIB) libdl.a 32 $(RANLIB) libdl.a
33 33
34libdl.dll libdl.dll.a: $(LIB_OBJS) 34libdl.dll: $(LIB_OBJS)
35 $(CC) $(SHFLAGS) -shared -o $@ $^ 35 $(CC) $(SHFLAGS) -shared -o $@ $^
36 36
37libdl.lib: libdl.dll 37libdl.lib: libdl.dll