summaryrefslogtreecommitdiff
path: root/jpwl/Makefile.nix
diff options
context:
space:
mode:
Diffstat (limited to 'jpwl/Makefile.nix')
-rw-r--r--jpwl/Makefile.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/jpwl/Makefile.nix b/jpwl/Makefile.nix
index 20b1cebd..e77812e5 100644
--- a/jpwl/Makefile.nix
+++ b/jpwl/Makefile.nix
@@ -57,8 +57,6 @@ endif
USERLIBS += -lm
-LIBRARIES += $(USERLIBS)
-
MODULES = $(SRCS:.c=.o)
CFLAGS = $(COMPILERFLAGS) $(INCLUDE) -DUSE_JPWL
@@ -97,7 +95,7 @@ $(STATICLIB): $(MODULES)
ifeq ($(ENABLE_SHARED),yes)
$(SHAREDLIB): $(MODULES)
- $(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
+ $(CC) -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
endif
JPWL_j2k_to_image: ../codec/j2k_to_image.c