summaryrefslogtreecommitdiff
path: root/package/imlib2
diff options
context:
space:
mode:
Diffstat (limited to 'package/imlib2')
-rw-r--r--package/imlib2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/imlib2/Makefile b/package/imlib2/Makefile
index 166d9cd40..12deefa5f 100644
--- a/package/imlib2/Makefile
+++ b/package/imlib2/Makefile
@@ -16,9 +16,11 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,IMLIB2,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,IMLIB2,imlib2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-post-install:
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
+imlib2-install:
$(INSTALL_DIR) $(IDIR_IMLIB2)/usr/lib/imlib2/{filters,loaders}
${CP} $(WRKINST)/usr/lib/libImlib2.so* $(IDIR_IMLIB2)/usr/lib
${CP} $(WRKINST)/usr/lib/imlib2/filters/*.so \