Skip to content

Commit

Permalink
fix libmport build
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Jan 22, 2024
1 parent f4a1087 commit 65a04f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/mport/libmport/bundle_read_install_pkg.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ do_post_install(mportInstance *mport, mportBundleRead *bundle, mportPackageMeta
if (run_pkg_install(mport, bundle, pkg, "POST-INSTALL") != MPORT_OK)
RETURN_CURRENT_ERROR;

mport_start_stop_service(mport, pack, SERVICE_START);
mport_start_stop_service(mport, pkg, SERVICE_START);

return mark_complete(mport, pkg);
}
Expand Down
3 changes: 2 additions & 1 deletion lib/libmport/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ SRCS= asset.c bundle_write.c bundle_read.c plist.c create_primative.c db.c \
update_primative.c bundle_read_update_pkg.c pkgmeta.c \
fetch.c index.c index_depends.c install.c clean.c setting.c \
stats.c verify.c lock.c mkdir.c \
import_export.c upgrade.c update.c autoremove.c ping.c message.c
import_export.c upgrade.c update.c autoremove.c ping.c message.c \
service.c
INCS= mport.h

CFLAGS+= -I${.CURDIR} -I${MPORTDIR}/libmport
Expand Down

0 comments on commit 65a04f6

Please sign in to comment.