X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fcompile-vars.make;h=7b04699f090537cfae46821c33675ac17df0b340;hb=e9fe183170639b40df1ce6e59f4e29c7d155b232;hp=27ec062bfa7002938c2ee5a374d46e3cff8467dc;hpb=078703a6ab29f75983a55ac2cc35fe5f315da574;p=lilypond.git diff --git a/stepmake/stepmake/compile-vars.make b/stepmake/stepmake/compile-vars.make index 27ec062bfa..7b04699f09 100644 --- a/stepmake/stepmake/compile-vars.make +++ b/stepmake/stepmake/compile-vars.make @@ -2,8 +2,14 @@ ARFLAGS = ru ALL_LDFLAGS = $(LDFLAGS) $(CONFIG_LDFLAGS) $($(PACKAGE)_LDFLAGS) $(MODULE_LDFLAGS) $(CONFIG_LDFLAGS) +ifeq ($(MINGW_BUILD),) +ifeq ($(CYGWIN_BUILD),) PIC_FLAGS = -fpic -fPIC +endif SHARED_FLAGS = -shared +else +SHARED_FLAGS = -mdll +endif o-dep-out = $(outdir)/$(subst .o,.dep,$(notdir $@))# DO_O_DEP = rm -f $(o-dep-out); DEPENDENCIES_OUTPUT="$(o-dep-out) $(outdir)/$(notdir $@)"