diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ include config.mak | |||
5 | CFLAGS=-Wall -O3 -fomit-frame-pointer | 5 | CFLAGS=-Wall -O3 -fomit-frame-pointer |
6 | 6 | ||
7 | ifeq ($(BUILD_SHARED),yes) | 7 | ifeq ($(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 |
11 | endif | 11 | endif |
@@ -31,7 +31,7 @@ libdl.a: $(LIB_OBJS) | |||
31 | $(AR) cru $@ $^ | 31 | $(AR) cru $@ $^ |
32 | $(RANLIB) libdl.a | 32 | $(RANLIB) libdl.a |
33 | 33 | ||
34 | libdl.dll libdl.dll.a: $(LIB_OBJS) | 34 | libdl.dll: $(LIB_OBJS) |
35 | $(CC) $(SHFLAGS) -shared -o $@ $^ | 35 | $(CC) $(SHFLAGS) -shared -o $@ $^ |
36 | 36 | ||
37 | libdl.lib: libdl.dll | 37 | libdl.lib: libdl.dll |