Skip to content

Commit 36b863e

Browse files
committed
Removed the dynamic library flag from the Makefile
1 parent 0fc4646 commit 36b863e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
CXX_FUNCTIONS = false
2323
USE_BUILTINS = true
2424

25-
FORCE_DYNAMIC_FLAG = false
26-
2725
# Library names
2826
CORE_NAME = libcallstack
2927
DYLIB_N = $(CORE_NAME).dylib
@@ -128,18 +126,12 @@ uninstall:
128126
- $(RM) $(INSTALL_PATH)/lib/$(NAME)
129127
- $(RM) -r "$(INSTALL_PATH)/include/CallstackLibrary"
130128

131-
$(DYLIB_N): COM_FLAGS += -DLCS_BUILD_DYLIB
132129
$(DYLIB_N): $(OBJS)
133130
$(LD) -dynamiclib $(LDFLAGS) -o $(DYLIB_N) $(OBJS)
134131

135-
$(SHARED_N): COM_FLAGS += -DLCS_BUILD_DYLIB
136132
$(SHARED_N): $(OBJS)
137133
$(LD) -shared -fPIC $(LDFLAGS) -o $(SHARED_N) $(OBJS)
138134

139-
ifeq ($(FORCE_DYNAMIC_FLAG),true)
140-
$(STATIC_N): COM_FLAGS += -DLCS_BUILD_DYLIB
141-
endif
142-
143135
$(STATIC_N): $(OBJS)
144136
$(AR) -crs $(STATIC_N) $(OBJS)
145137

0 commit comments

Comments
 (0)