diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-03-15 16:35:22 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-03-15 17:00:40 -0700 |
commit | 5ea707adea4146a64c38106a9bad11b01f74f0ef (patch) | |
tree | 40d22b482595a05fa25653407bafb2da2be3ed7d /Makefile | |
parent | c421b7010d915a36bfc90c4f0462095ea840bb7a (diff) | |
download | dlfcn-win32-5ea707adea4146a64c38106a9bad11b01f74f0ef.tar.gz dlfcn-win32-5ea707adea4146a64c38106a9bad11b01f74f0ef.tar.bz2 dlfcn-win32-5ea707adea4146a64c38106a9bad11b01f74f0ef.zip |
Define SHARED when building shared library
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ CFLAGS=-Wall -O3 -fomit-frame-pointer | |||
7 | ifeq ($(BUILD_SHARED),yes) | 7 | ifeq ($(BUILD_SHARED),yes) |
8 | TARGETS += libdl.dll | 8 | TARGETS += libdl.dll |
9 | SHFLAGS += -Wl,--out-implib,libdl.dll.a | 9 | SHFLAGS += -Wl,--out-implib,libdl.dll.a |
10 | CFLAGS += -DSHARED | ||
10 | INSTALL += shared-install | 11 | INSTALL += shared-install |
11 | endif | 12 | endif |
12 | ifeq ($(BUILD_STATIC),yes) | 13 | ifeq ($(BUILD_STATIC),yes) |