mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-07 02:17:44 +00:00
fix install such that pkg-config setup is correct
This commit is contained in:
parent
c130a87baa
commit
2f984ec24f
@ -50,7 +50,10 @@ $(LIBPNG_DIR)/.configured: $(LIBPNG_DIR)/.unpacked
|
|||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
--prefix=/usr \
|
--prefix=$(STAGING_DIR) \
|
||||||
|
--exec_prefix=$(STAGING_DIR) \
|
||||||
|
--libdir=$(STAGING_DIR)/lib \
|
||||||
|
--includedir=$(STAGING_DIR)/include \
|
||||||
--without-libpng-compat \
|
--without-libpng-compat \
|
||||||
);
|
);
|
||||||
touch $(LIBPNG_DIR)/.configured
|
touch $(LIBPNG_DIR)/.configured
|
||||||
@ -60,11 +63,21 @@ $(LIBPNG_DIR)/.compiled: $(LIBPNG_DIR)/.configured
|
|||||||
touch $(LIBPNG_DIR)/.compiled
|
touch $(LIBPNG_DIR)/.compiled
|
||||||
|
|
||||||
$(STAGING_DIR)/lib/libpng.so: $(LIBPNG_DIR)/.compiled
|
$(STAGING_DIR)/lib/libpng.so: $(LIBPNG_DIR)/.compiled
|
||||||
$(MAKE) \
|
$(MAKE) prefix=$(STAGING_DIR) \
|
||||||
-C $(LIBPNG_DIR) \
|
exec_prefix=$(STAGING_DIR) \
|
||||||
DESTDIR=$(STAGING_DIR) \
|
bindir=$(STAGING_DIR)/bin \
|
||||||
prefix=/ \
|
sbindir=$(STAGING_DIR)/sbin \
|
||||||
install
|
libexecdir=$(STAGING_DIR)/libexec \
|
||||||
|
datadir=$(STAGING_DIR)/share \
|
||||||
|
sysconfdir=$(STAGING_DIR)/etc \
|
||||||
|
sharedstatedir=$(STAGING_DIR)/com \
|
||||||
|
localstatedir=$(STAGING_DIR)/var \
|
||||||
|
libdir=$(STAGING_DIR)/lib \
|
||||||
|
includedir=$(STAGING_DIR)/include \
|
||||||
|
oldincludedir=$(STAGING_DIR)/include \
|
||||||
|
infodir=$(STAGING_DIR)/info \
|
||||||
|
mandir=$(STAGING_DIR)/man \
|
||||||
|
-C $(LIBPNG_DIR) install;
|
||||||
touch -c $(STAGING_DIR)/lib/libpng.so
|
touch -c $(STAGING_DIR)/lib/libpng.so
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/lib/libpng.so: $(STAGING_DIR)/lib/libpng.so
|
$(TARGET_DIR)/usr/lib/libpng.so: $(STAGING_DIR)/lib/libpng.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user