diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,10 +65,10 @@ test-static.exe: tests/test.c $(TARGETS) | |||
65 | $(CC) $(CFLAGS) -o $@ $< libdl.a | 65 | $(CC) $(CFLAGS) -o $@ $< libdl.a |
66 | 66 | ||
67 | test-dladdr.exe: tests/test-dladdr.c $(TARGETS) | 67 | test-dladdr.exe: tests/test-dladdr.c $(TARGETS) |
68 | $(CC) $(CFLAGS) -DDLFCN_WIN32_SHARED -o $@ $< libdl.dll.a | 68 | $(CC) $(CFLAGS) -Wl,--export-all-symbols -DDLFCN_WIN32_SHARED -o $@ $< libdl.dll.a |
69 | 69 | ||
70 | test-dladdr-static.exe: tests/test-dladdr.c $(TARGETS) | 70 | test-dladdr-static.exe: tests/test-dladdr.c $(TARGETS) |
71 | $(CC) $(CFLAGS) -o $@ $< libdl.a | 71 | $(CC) $(CFLAGS) -Wl,--export-all-symbols -o $@ $< libdl.a |
72 | 72 | ||
73 | testdll.dll: tests/testdll.c | 73 | testdll.dll: tests/testdll.c |
74 | $(CC) $(CFLAGS) -shared -o $@ $^ | 74 | $(CC) $(CFLAGS) -shared -o $@ $^ |