Skip to content

Commit

Permalink
Fix not loading plugins when compilation has been made static
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Apr 9, 2015
1 parent 99911c1 commit efd65a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpkg/pkg_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ disable_plugins_if_static(void)

/* if dlh is NULL then we are in static binary */
if (dlh == NULL)
ucl_object_replace_key(config, ucl_object_frombool(false), "ENABLE_PLUGINS", 14, false);
ucl_object_replace_key(config, ucl_object_frombool(false), "PKG_ENABLE_PLUGINS", 18, false);
else
dlclose(dlh);

Expand Down

0 comments on commit efd65a8

Please sign in to comment.