Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1
laszip
0bf1c60.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0bf1c60.patch of Package laszip
From d781bf50da33d1789cce3a17777d91e279d0a289 Mon Sep 17 00:00:00 2001 From: Pete Gadomski <pete.gadomski@gmail.com> Date: Thu, 19 Oct 2017 17:06:55 +0000 Subject: [PATCH] Load .so dll on non-apple This platform checking is...dubious...but this was the Minimum Required To Work on a debian system. --- dll/laszip_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dll/laszip_api.c b/dll/laszip_api.c index 007e080..83c09bf 100644 --- a/dll/laszip_api.c +++ b/dll/laszip_api.c @@ -958,8 +958,10 @@ laszip_I32 laszip_load_dll() // Load DLL file #ifdef _WIN32 laszip_HINSTANCE = LoadLibrary(TEXT("LASzip.dll")); -#else +#elif __APPLE__ laszip_HINSTANCE = LoadLibrary("liblaszip.dylib", RTLD_NOW); +#else + laszip_HINSTANCE = LoadLibrary("liblaszip.so", RTLD_NOW); #endif if (laszip_HINSTANCE == NULL) { return 1;
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