Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:holden:buildtools
AppImageKit
fix-linking.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-linking.patch of Package AppImageKit
diff --git a/src/build-runtime.cmake b/src/build-runtime.cmake index 1b59dd8..3bd2902 100644 --- a/src/build-runtime.cmake +++ b/src/build-runtime.cmake @@ -111,7 +111,7 @@ add_custom_command( add_executable(runtime ${CMAKE_CURRENT_BINARY_DIR}/runtime.4.o notify.c) # CMake gets confused by the .o object, therefore we need to tell it that it shall link everything using the C compiler set_property(TARGET runtime PROPERTY LINKER_LANGUAGE C) -target_link_libraries(runtime PRIVATE libsquashfuse dl xz libzlib pthread libappimage_shared libappimage_hashlib) +target_link_libraries(runtime PRIVATE libsquashfuse_ll.a libsquashfuse.a libfuseprivate.a dl liblzma.a libz.a pthread libappimage_shared libappimage_hashlib libfuse.a liblzo2.a) if(COMMAND target_link_options) target_link_options(runtime PRIVATE ${runtime_ldflags}) else() diff --git a/src/runtime.c b/src/runtime.c index 048649c..6e0bd90 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -31,7 +31,7 @@ #include "squashfuse.h" #include <squashfs_fs.h> -#include <nonstd.h> +#include <squashfuse/nonstd.h> #include <limits.h> #include <stdlib.h> @@ -54,7 +54,9 @@ #ifndef ENABLE_DLOPEN #define ENABLE_DLOPEN #endif +#ifdef ENABLE_SETPROCTITLE #include "squashfuse_dlopen.h" +#endif /* Exit status to use when launching an AppImage fails. * For applications that assign meanings to exit status codes (e.g. rsync), @@ -791,7 +793,9 @@ int main(int argc, char *argv[]) { exit(1); } +#ifdef ENABLE_SETPROCTITLE LOAD_LIBRARY; /* exit if libfuse is missing */ +#endif int dir_fd, res;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor