aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/makefile.pd-linux
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/makefile.pd-linux')
-rw-r--r--externals/grill/flext/makefile.pd-linux3
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/grill/flext/makefile.pd-linux b/externals/grill/flext/makefile.pd-linux
index a5a3e241..7e77f7f4 100644
--- a/externals/grill/flext/makefile.pd-linux
+++ b/externals/grill/flext/makefile.pd-linux
@@ -144,6 +144,9 @@ endif
install:: $(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD) $(TARGET_S) $(TARGET_SD) $(patsubst %,$(SRCDIR)/%,$(HDRS))
cp $^ $(INSTDIR)
+
+ #make compatibility links for old-style naming
for i in $(foreach f,$(notdir $(filter %.a,$^)),$(patsubst lib%.a,%,$(f))); do rm -f $(INSTDIR)/$$i.a && ln -sf lib$$i.a $(INSTDIR)/$$i.a; done
+
chmod a+r $(patsubst %,$(INSTDIR)/%,$(notdir $^))
chown root.users $(patsubst %,$(INSTDIR)/%,$(notdir $^))