Browse Source

PD: removes superfluous build flags

pull/45/head
clwe 4 years ago
parent
commit
3ac384ce24
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      Makefile

+ 5
- 4
Makefile View File

@@ -222,13 +222,14 @@ DEPS += $(libpd)
FLAGS += -Idep/include/libpd

ifdef ARCH_WIN
# FLAGS += -D_WIN32
# the PD_INTERNAL leaves the function declarations for libpd unchanged
# not specifying that flag would enable the "EXTERN __declspec(dllexport) extern" macro
# which throughs a linker error. I guess this macro should only be used for the windows
# specific .dll dynamic linking format.
# The corresponding #define resides in "m_pd.h" inside pure data sources
FLAGS += -DPD_INTERNAL
# LDFLAGS += -shared
LDFLAGS += -Wl,--export-all-symbols
LDFLAGS += -lws2_32
# LDFLAGS += -lkernel32
# LDFLAGS += -static-libgcc
endif

$(libpd):


Loading…
Cancel
Save