pkgmk.in: sed patch to avoid development build references. Needs testing to confirm all files are clean.
- find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -i {} \; + find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -e "s|$CROSSTOOLS||g" -i {} \; } check_footprint() {
* Victor Martinez (pitillo@crux-arm.nu) wrote:
- find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -i {} \; + find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -e "s|$CROSSTOOLS||g" -i {} \; }
check_footprint() { _______________________________________________
Tested on core-cross eabi/no-eabi and the only reference on libs to the build enviroment is the hardcoded RPATH on objects. The patch is applied to pkgutils-cross. Regards, Victor. Learning bit by bit Victor Martinez | http://lokalix.dyndns.org
participants (1)
-
Victor Martinez